mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 05:44:51 +02:00
Small improvement
This commit is contained in:
@@ -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) &&
|
||||
|
||||
Reference in New Issue
Block a user