mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 09:49:30 +01:00
Fix crash in RecipientTable.getAllPnis()
This commit is contained in:
@@ -2080,7 +2080,7 @@ open class RecipientTable(context: Context, databaseHelper: SignalDatabase) : Da
|
||||
return readableDatabase
|
||||
.select(PNI_COLUMN)
|
||||
.from(TABLE_NAME)
|
||||
.where("$PNI NOT NULL")
|
||||
.where("$PNI_COLUMN NOT NULL")
|
||||
.run()
|
||||
.readToSet { PNI.parseOrThrow(it.requireString(PNI_COLUMN)) }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user