1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-26 17:57:16 +00:00

Reload on changing keep-alive interval

This commit is contained in:
M66B 2018-12-06 09:14:14 +01:00
parent 0ee61448a8
commit bca195eb84

View file

@ -678,7 +678,9 @@ public class FragmentAccount extends FragmentEx {
boolean check = (synchronize && (account == null ||
!host.equals(account.host) || Integer.parseInt(port) != account.port ||
!user.equals(account.user) || !password.equals(account.password)));
boolean reload = (account == null || account.synchronize != synchronize || check);
boolean reload = (check || account == null ||
account.synchronize != synchronize ||
account.poll_interval.equals(Integer.parseInt(interval)));
// Check IMAP server
if (check) {