From 9b5b9f30f3a2ea6d3c8db0316721e7c85dc24cf0 Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 26 Dec 2020 09:16:13 +0100 Subject: [PATCH] Skip force sync when folder disabled --- app/src/main/java/eu/faircode/email/FragmentMessages.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentMessages.java b/app/src/main/java/eu/faircode/email/FragmentMessages.java index 428113802a..e2b094da05 100644 --- a/app/src/main/java/eu/faircode/email/FragmentMessages.java +++ b/app/src/main/java/eu/faircode/email/FragmentMessages.java @@ -1483,7 +1483,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences. EntityAccount account = db.account().getAccount(folder.account); if (account != null && !"connected".equals(account.state)) { now = false; - if (enabled && !account.ondemand && + if (enabled && !account.ondemand && folder.synchronize && (pollInterval == 0 || account.poll_exempted)) force = true; }