From d8b398cf2713ff04c9a4b958f36da2f626fa71fa Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 24 Jul 2019 22:04:58 +0200 Subject: [PATCH] Fix --- 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 418a62d7b9..243054e22e 100644 --- a/app/src/main/java/eu/faircode/email/Core.java +++ b/app/src/main/java/eu/faircode/email/Core.java @@ -988,7 +988,7 @@ class Core { // Check uid validity try { long uidv = ifolder.getUIDValidity(); - if (folder.uidv != null && folder.uidv.equals(uidv)) { + if (folder.uidv != null && !folder.uidv.equals(uidv)) { Log.w(folder.name + " uid validity changed from " + folder.uidv + " to " + uidv); db.message().deleteLocalMessages(folder.id); }