Reload on changing keep-alive interval

This commit is contained in:
M66B 2018-12-06 09:14:14 +01:00
parent 0ee61448a8
commit bca195eb84
1 changed files with 3 additions and 1 deletions

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) {