Prevent hidden recipients from appearing in recent conversations.

This commit is contained in:
jeffrey-signal
2026-03-27 15:31:32 -04:00
committed by Alex Hart
parent 4ed6773983
commit 5eaf1000c8
2 changed files with 30 additions and 14 deletions

View File

@@ -910,6 +910,7 @@ class ThreadTable(context: Context, databaseHelper: SignalDatabase) : DatabaseTa
where += " AND $ARCHIVED = 0"
where += " AND ${RecipientTable.TABLE_NAME}.${RecipientTable.BLOCKED} = 0"
where += " AND ${RecipientTable.TABLE_NAME}.${RecipientTable.HIDDEN} = 0"
if (SignalStore.releaseChannel.releaseChannelRecipientId != null) {
where += " AND $TABLE_NAME.$RECIPIENT_ID != ${SignalStore.releaseChannel.releaseChannelRecipientId!!.toLong()}"