Update folder stats after move

This commit is contained in:
M66B 2020-08-07 20:58:42 +02:00
parent 793319e5f2
commit dc5a15a8bd
1 changed files with 3 additions and 0 deletions

View File

@ -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