mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-19 08:09:12 +01:00
Prevent hidden recipients from appearing in recent conversations.
This commit is contained in:
committed by
Alex Hart
parent
4ed6773983
commit
5eaf1000c8
@@ -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()}"
|
||||
|
||||
Reference in New Issue
Block a user