Update folder stats after move

pull/184/head
M66B 4 years ago
parent 793319e5f2
commit dc5a15a8bd

@ -1014,6 +1014,9 @@ class Core {
} catch (MessageRemovedException ignored) { } catch (MessageRemovedException ignored) {
} }
ifolder.expunge(); ifolder.expunge();
} else {
int count = ifolder.getMessageCount();
db.folder().setFolderTotal(folder.id, count < 0 ? null : count);
} }
// Fetch appended/copied when needed // Fetch appended/copied when needed

Loading…
Cancel
Save