diff --git a/app/src/main/java/eu/faircode/email/EntityContact.java b/app/src/main/java/eu/faircode/email/EntityContact.java index b9b5b135b9..25089db5a7 100644 --- a/app/src/main/java/eu/faircode/email/EntityContact.java +++ b/app/src/main/java/eu/faircode/email/EntityContact.java @@ -240,7 +240,7 @@ public class EntityContact implements Serializable { public boolean equals(@Nullable Object obj) { if (obj instanceof EntityContact) { EntityContact other = (EntityContact) obj; - return (this.account == other.account && + return (this.account.equals(other.account) && this.type == other.type && this.email.equals(other.email) && Objects.equals(this.name, other.name) &&