VANISH: update message count

pull/215/head
M66B 4 months ago
parent 601e52f129
commit c78984796c

@ -1576,6 +1576,11 @@ class Core {
try { try {
imessage.setFlag(Flags.Flag.DELETED, true); imessage.setFlag(Flags.Flag.DELETED, true);
deleted.add(imessage); 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) { } catch (MessageRemovedException ex) {
Log.w(ex); Log.w(ex);
} }

Loading…
Cancel
Save