Simplification

pull/194/head
M66B 4 years ago
parent 379accf8fd
commit a7346d58b6

@ -2457,13 +2457,10 @@ class Core {
int expunge = 0;
for (int i = 0; i < imessages.length && state.isRunning() && state.isRecoverable(); i++)
try {
if (imessages[i].isSet(Flags.Flag.DELETED)) {
if (perform_expunge)
if (perform_expunge && imessages[i].isSet(Flags.Flag.DELETED))
expunge++;
else
uids.remove(ifolder.getUID(imessages[i]));
} else
uids.remove(ifolder.getUID(imessages[i]));
} catch (MessageRemovedException ex) {
Log.w(folder.name, ex);
} catch (Throwable ex) {

Loading…
Cancel
Save