mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 00:59:49 +01:00
Fix query selection crash during backup.
This commit is contained in:
committed by
jeffrey-signal
parent
89e6479021
commit
95c9776b4d
@@ -883,7 +883,7 @@ class AttachmentTable(
|
||||
*/
|
||||
fun getThumbnailsThatNeedArchiveUpload(): List<AttachmentId> {
|
||||
return readableDatabase
|
||||
.select(ID)
|
||||
.select("$TABLE_NAME.$ID")
|
||||
.from("$TABLE_NAME INNER JOIN ${MessageTable.TABLE_NAME} ON $TABLE_NAME.$MESSAGE_ID = ${MessageTable.TABLE_NAME}.${MessageTable.ID}")
|
||||
.where(
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user