mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 01:40:07 +01:00
Move to defined from_recipient_id and to_recipient_id columns on message table.
This commit is contained in:
committed by
Cody Henthorne
parent
d079f85eca
commit
279ad7945e
@@ -134,9 +134,9 @@ object SafetyNumberBottomSheet {
|
||||
|
||||
private fun getDestinationFromRecord(messageRecord: MessageRecord): List<ContactSearchKey.RecipientSearchKey> {
|
||||
val key = if ((messageRecord as? MmsMessageRecord)?.storyType?.isStory == true) {
|
||||
ContactSearchKey.RecipientSearchKey(messageRecord.recipient.id, true)
|
||||
ContactSearchKey.RecipientSearchKey(messageRecord.toRecipient.id, true)
|
||||
} else {
|
||||
ContactSearchKey.RecipientSearchKey(messageRecord.recipient.id, false)
|
||||
ContactSearchKey.RecipientSearchKey(messageRecord.toRecipient.id, false)
|
||||
}
|
||||
|
||||
return listOf(key)
|
||||
|
||||
Reference in New Issue
Block a user