From 321bd7f190029fd8609301138f35842aa3dc7d00 Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 27 Oct 2021 18:05:17 +0200 Subject: [PATCH] Sync on message add/changed/deleted error --- app/src/main/java/eu/faircode/email/ServiceSynchronize.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/ServiceSynchronize.java b/app/src/main/java/eu/faircode/email/ServiceSynchronize.java index 3c9bff0da9..1983fc154e 100644 --- a/app/src/main/java/eu/faircode/email/ServiceSynchronize.java +++ b/app/src/main/java/eu/faircode/email/ServiceSynchronize.java @@ -1614,7 +1614,7 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences Log.e(folder.name, ex); EntityLog.log(ServiceSynchronize.this, folder.name + " added " + Log.formatThrowable(ex, false)); - state.error(ex); + EntityOperation.sync(ServiceSynchronize.this, folder.id, false); } finally { wlMessage.release(); } @@ -1630,7 +1630,7 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences Log.e(folder.name, ex); EntityLog.log(ServiceSynchronize.this, folder.name + " removed " + Log.formatThrowable(ex, false)); - state.error(ex); + EntityOperation.sync(ServiceSynchronize.this, folder.id, false); } finally { wlMessage.release(); } @@ -1651,7 +1651,7 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences Log.e(folder.name, ex); EntityLog.log(ServiceSynchronize.this, folder.name + " changed " + Log.formatThrowable(ex, false)); - state.error(ex); + EntityOperation.sync(ServiceSynchronize.this, folder.id, false); } finally { wlMessage.release(); }