Prevent getCallLinks from returning links without root keys.
This commit is contained in:
parent
7dcb8a425a
commit
63e6f955ed
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue