Allow accounts to be exempted from polling

This commit is contained in:
M66B
2020-01-12 18:48:26 +01:00
parent d5a413dcbb
commit 0bb4282e5c
9 changed files with 2302 additions and 3 deletions

View File

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