Skip force sync when folder disabled

This commit is contained in:
M66B 2020-12-26 09:16:13 +01:00
parent 271586615b
commit 9b5b9f30f3
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}