mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-22 22:21:18 +00:00
Update folder stats after move
This commit is contained in:
parent
793319e5f2
commit
dc5a15a8bd
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue