mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 21:15:48 +00:00
Hide call events from hidden and blocked contacts.
This commit is contained in:
@@ -833,7 +833,9 @@ class CallTable(context: Context, databaseHelper: SignalDatabase) : DatabaseTabl
|
||||
"""
|
||||
SqlUtil.buildQuery(selection, 0, 0, glob, glob, glob, glob)
|
||||
} else {
|
||||
SqlUtil.buildQuery("")
|
||||
SqlUtil.buildQuery("""
|
||||
${RecipientTable.TABLE_NAME}.${RecipientTable.BLOCKED} = ? AND ${RecipientTable.TABLE_NAME}.${RecipientTable.HIDDEN} = ?
|
||||
""", 0, 0)
|
||||
}
|
||||
|
||||
val offsetLimit = if (limit > 0) {
|
||||
|
||||
Reference in New Issue
Block a user