Should save enabled account/identity with error

This commit is contained in:
M66B
2021-10-31 10:19:03 +01:00
parent 582b0ca0f1
commit 38ae04f892
2 changed files with 4 additions and 0 deletions

View File

@@ -1035,6 +1035,8 @@ public class FragmentAccount extends FragmentBase {
return true;
if (!Objects.equals(account.use_received, use_received))
return true;
if (account.error != null && account.synchronize)
return true;
EntityFolder edrafts = db.folder().getFolderByType(account.id, EntityFolder.DRAFTS);
if (!Objects.equals(edrafts == null ? null : edrafts.id, drafts == null ? null : drafts.id))

View File

@@ -899,6 +899,8 @@ public class FragmentIdentity extends FragmentBase {
return true;
if (user_max_size != null && !Objects.equals(identity.max_size, user_max_size))
return true;
if (identity.error != null && identity.synchronize)
return true;
return false;
}