From 94ef858407329e3bd9d0f35533b72aabbf18cf19 Mon Sep 17 00:00:00 2001 From: M66B Date: Tue, 20 Aug 2019 16:02:01 +0200 Subject: [PATCH] Small improvement --- app/src/main/java/eu/faircode/email/Core.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/Core.java b/app/src/main/java/eu/faircode/email/Core.java index 44451625b3..21d0907d91 100644 --- a/app/src/main/java/eu/faircode/email/Core.java +++ b/app/src/main/java/eu/faircode/email/Core.java @@ -1249,7 +1249,7 @@ class Core { Date received = isub[j].getReceivedDate(); boolean unseen = (sync_unseen && !isub[j].isSet(Flags.Flag.SEEN)); 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]); Log.i(folder.name + " Skipping old uid=" + uid + " date=" + received); ids[from + j] = null;