Skip to content

Commit 76b9075

Browse files
committed
Removed isDeleted filter
1 parent 430247a commit 76b9075

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

app/src/main/java/org/thoughtcrime/securesms/database/MmsSmsDatabase.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -451,9 +451,7 @@ public Cursor getUnreadOrUnseenReactions() {
451451

452452
public Set<Address> getAllReferencedAddresses() {
453453
final String[] projection = new String[] { "DISTINCT " + MmsSmsColumns.ADDRESS };
454-
final String selection =
455-
"NOT " + MmsSmsColumns.IS_DELETED +
456-
" AND " + MmsSmsColumns.ADDRESS + " IS NOT NULL" +
454+
final String selection = MmsSmsColumns.ADDRESS + " IS NOT NULL" +
457455
" AND " + MmsSmsColumns.ADDRESS + " != ''";
458456

459457
Set<Address> out = new HashSet<>();

0 commit comments

Comments
 (0)