mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-01 09:16:00 +00:00
VANISH: update message count
This commit is contained in:
parent
601e52f129
commit
c78984796c
1 changed files with 5 additions and 0 deletions
|
@ -1576,6 +1576,11 @@ class Core {
|
|||
try {
|
||||
imessage.setFlag(Flags.Flag.DELETED, true);
|
||||
deleted.add(imessage);
|
||||
if (!folder.synchronize || folder.poll || !MessageHelper.hasCapability(ifolder, "IDLE")) {
|
||||
EntityMessage m = map.get(imessage);
|
||||
if (m != null && m.uid != null)
|
||||
EntityOperation.queue(context, folder, EntityOperation.FETCH, m.uid, false, true);
|
||||
}
|
||||
} catch (MessageRemovedException ex) {
|
||||
Log.w(ex);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue