Small improvement

pull/161/head
M66B 5 years ago
parent ec43286096
commit 94ef858407

@ -1249,7 +1249,7 @@ class Core {
Date received = isub[j].getReceivedDate(); Date received = isub[j].getReceivedDate();
boolean unseen = (sync_unseen && !isub[j].isSet(Flags.Flag.SEEN)); boolean unseen = (sync_unseen && !isub[j].isSet(Flags.Flag.SEEN));
boolean flagged = (sync_flagged && isub[j].isSet(Flags.Flag.FLAGGED)); boolean flagged = (sync_flagged && isub[j].isSet(Flags.Flag.FLAGGED));
if (received != null && received.getTime() < sync_time && !unseen && !flagged) { if (received != null && received.getTime() < keep_time && !unseen && !flagged) {
long uid = ifolder.getUID(isub[j]); long uid = ifolder.getUID(isub[j]);
Log.i(folder.name + " Skipping old uid=" + uid + " date=" + received); Log.i(folder.name + " Skipping old uid=" + uid + " date=" + received);
ids[from + j] = null; ids[from + j] = null;

Loading…
Cancel
Save