|
|
@ -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);
|
|
|
|
}
|
|
|
|
}
|
|
|
|