From 154a9983564106d30d7fd7a27e717321341e86e3 Mon Sep 17 00:00:00 2001 From: M66B Date: Thu, 22 Nov 2018 18:11:33 +0100 Subject: [PATCH] Suppress message removed error --- app/src/main/java/eu/faircode/email/ServiceSynchronize.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/ServiceSynchronize.java b/app/src/main/java/eu/faircode/email/ServiceSynchronize.java index d9e8cf7bd3..fbb04c3d00 100644 --- a/app/src/main/java/eu/faircode/email/ServiceSynchronize.java +++ b/app/src/main/java/eu/faircode/email/ServiceSynchronize.java @@ -1360,7 +1360,7 @@ public class ServiceSynchronize extends LifecycleService { if (ex instanceof SendFailedException) reportError(null, folder.name, ex); - if (message != null) + if (message != null && !(ex instanceof MessageRemovedException)) db.message().setMessageError(message.id, Helper.formatThrowable(ex)); if (ex instanceof MessageRemovedException ||