Hide call events from hidden and blocked contacts.
This commit is contained in:
parent
664e8e5526
commit
4294b446f3
1 changed files with 3 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue