mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-04 16:16:33 +02:00
Allow accounts to be exempted from polling
This commit is contained in:
@@ -1497,7 +1497,7 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
|
||||
List<TupleAccountNetworkState> result = new ArrayList<>();
|
||||
for (TupleAccountState accountState : accountStates)
|
||||
result.add(new TupleAccountNetworkState(
|
||||
enabled && pollInterval == 0 && scheduled,
|
||||
enabled && (pollInterval == 0 || accountState.poll_exempted) && scheduled,
|
||||
command,
|
||||
networkState,
|
||||
accountState));
|
||||
|
||||
Reference in New Issue
Block a user