mirror of https://github.com/M66B/FairEmail.git
Update folder stats after move
This commit is contained in:
parent
793319e5f2
commit
dc5a15a8bd
|
@ -1014,6 +1014,9 @@ class Core {
|
|||
} catch (MessageRemovedException ignored) {
|
||||
}
|
||||
ifolder.expunge();
|
||||
} else {
|
||||
int count = ifolder.getMessageCount();
|
||||
db.folder().setFolderTotal(folder.id, count < 0 ? null : count);
|
||||
}
|
||||
|
||||
// Fetch appended/copied when needed
|
||||
|
|
Loading…
Reference in New Issue