mirror of
https://github.com/oxen-io/session-android.git
synced 2025-12-03 13:32:37 +00:00
Support for multi-select in the conversation list.
// FREEBIE Closes #1601 Closes #2214 Fixes #2188 Fixes #786
This commit is contained in:
@@ -182,4 +182,15 @@ public abstract class MessageRecord extends DisplayRecord {
|
||||
|
||||
return spannable;
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
return other != null &&
|
||||
other instanceof MessageRecord &&
|
||||
((MessageRecord) other).getId() == getId() &&
|
||||
((MessageRecord) other).isMms() == isMms();
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return (int)getId();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user