mirror of https://github.com/M66B/FairEmail.git
Skip force sync when folder disabled
This commit is contained in:
parent
271586615b
commit
9b5b9f30f3
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue