From f043da8a88a4ce95dae9d4c22baa0bb4d8c280a8 Mon Sep 17 00:00:00 2001 From: M66B Date: Tue, 9 Jun 2020 16:47:09 +0200 Subject: [PATCH] Sync enabled folders only --- 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 109c76650a..dc4d3fe39d 100644 --- a/app/src/main/java/eu/faircode/email/Core.java +++ b/app/src/main/java/eu/faircode/email/Core.java @@ -1340,7 +1340,7 @@ class Core { } else { local.put(folder.name, folder); - if (folder.initialize != 0) + if (folder.synchronize && folder.initialize != 0) sync_folders = true; } Log.i("Local folder count=" + local.size());