Show number unread inbox for accounts

This commit is contained in:
M66B
2020-10-21 19:19:22 +02:00
parent 4c6aeab96b
commit d21f9e6edb
4 changed files with 36 additions and 3 deletions

View File

@@ -23,6 +23,7 @@ import java.util.Objects;
public class TupleAccountEx extends EntityAccount {
public int unseen;
public int inbox;
public int identities; // synchronizing
public Long drafts;
@@ -32,6 +33,7 @@ public class TupleAccountEx extends EntityAccount {
TupleAccountEx other = (TupleAccountEx) obj;
return (super.equals(obj) &&
this.unseen == other.unseen &&
this.inbox == other.inbox &&
this.identities == other.identities &&
Objects.equals(this.drafts, other.drafts));
} else