mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
implement ChatData.equals()
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user