mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-29 21:34:44 +02:00
Enforce minimum keep alive / poll interval
This commit is contained in:
@@ -379,7 +379,7 @@ public class FragmentPop extends FragmentBase {
|
||||
account.leave_deleted = leave_deleted;
|
||||
account.leave_on_device = leave_device;
|
||||
account.max_messages = (TextUtils.isEmpty(max) ? null : Integer.parseInt(max));
|
||||
account.poll_interval = Integer.parseInt(interval);
|
||||
account.poll_interval = Math.max(1, Integer.parseInt(interval));
|
||||
|
||||
if (!update)
|
||||
account.created = now;
|
||||
|
||||
Reference in New Issue
Block a user