Skip force sync when folder disabled

pull/190/head
M66B 4 years ago
parent 271586615b
commit 9b5b9f30f3

@ -1483,7 +1483,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
EntityAccount account = db.account().getAccount(folder.account); EntityAccount account = db.account().getAccount(folder.account);
if (account != null && !"connected".equals(account.state)) { if (account != null && !"connected".equals(account.state)) {
now = false; now = false;
if (enabled && !account.ondemand && if (enabled && !account.ondemand && folder.synchronize &&
(pollInterval == 0 || account.poll_exempted)) (pollInterval == 0 || account.poll_exempted))
force = true; force = true;
} }

Loading…
Cancel
Save