mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 01:40:07 +01:00
Ensure all conversations are loaded before selecting all.
They might not be loaded yet due to pagination.
This commit is contained in:
committed by
Greyson Parrelli
parent
2c5f57486c
commit
398fdd84b9
@@ -1744,6 +1744,33 @@ public class ThreadDatabase extends Database {
|
||||
public @Nullable String getIndividualRecipientId() {
|
||||
return individualRecipientId;
|
||||
}
|
||||
|
||||
@Override public boolean equals(Object o) {
|
||||
if (this == o) return true;
|
||||
if (o == null || getClass() != o.getClass()) return false;
|
||||
Extra extra = (Extra) o;
|
||||
return isRevealable == extra.isRevealable &&
|
||||
isSticker == extra.isSticker &&
|
||||
isAlbum == extra.isAlbum &&
|
||||
isRemoteDelete == extra.isRemoteDelete &&
|
||||
isMessageRequestAccepted == extra.isMessageRequestAccepted &&
|
||||
isGv2Invite == extra.isGv2Invite &&
|
||||
Objects.equals(stickerEmoji, extra.stickerEmoji) &&
|
||||
Objects.equals(groupAddedBy, extra.groupAddedBy) &&
|
||||
Objects.equals(individualRecipientId, extra.individualRecipientId);
|
||||
}
|
||||
|
||||
@Override public int hashCode() {
|
||||
return Objects.hash(isRevealable,
|
||||
isSticker,
|
||||
stickerEmoji,
|
||||
isAlbum,
|
||||
isRemoteDelete,
|
||||
isMessageRequestAccepted,
|
||||
isGv2Invite,
|
||||
groupAddedBy,
|
||||
individualRecipientId);
|
||||
}
|
||||
}
|
||||
|
||||
enum ReadStatus {
|
||||
|
||||
Reference in New Issue
Block a user