implement ChatData.equals()

This commit is contained in:
adbenitez
2023-02-04 05:27:55 -05:00
parent 93a17e99e9
commit 64c1c5af2e
@@ -608,5 +608,14 @@ public class NotificationCenter {
this.accountId = accountId;
this.chatId = chatId;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
ChatData chatData = (ChatData) o;
return accountId == chatData.accountId && chatId == chatData.chatId;
}
}
}