mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 04:58:45 +00:00
Prevent getCallLinks from returning links without root keys.
This commit is contained in:
@@ -377,7 +377,7 @@ class CallLinkTable(context: Context, databaseHelper: SignalDatabase) : Database
|
||||
val statement = """
|
||||
SELECT $projection
|
||||
FROM $TABLE_NAME
|
||||
WHERE $noCallEvent AND NOT $REVOKED ${searchFilter?.where ?: ""}
|
||||
WHERE $noCallEvent AND NOT $REVOKED ${searchFilter?.where ?: ""} AND $ROOT_KEY IS NOT NULL
|
||||
ORDER BY $ID DESC
|
||||
$limitOffset
|
||||
""".trimIndent()
|
||||
|
||||
Reference in New Issue
Block a user