Report/show account, folder, message and operation errors

This commit is contained in:
M66B
2018-08-11 08:28:54 +00:00
parent f83a4f60ec
commit 6713134e43
13 changed files with 197 additions and 73 deletions

View File

@@ -47,6 +47,7 @@ public class EntityAccount {
@NonNull
public Boolean synchronize;
public Long seen_until;
public String error;
@Override
public boolean equals(Object obj) {
@@ -58,7 +59,8 @@ public class EntityAccount {
this.user.equals(other.user) &&
this.password.equals(other.password) &&
this.primary.equals(other.primary) &&
this.synchronize.equals(other.synchronize));
this.synchronize.equals(other.synchronize) &&
(this.error == null ? other.error == null : this.error.equals(other.error)));
} else
return false;
}