mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-21 13:18:52 +01:00
@@ -248,7 +248,7 @@ class ComposeViewModel @Inject constructor(
|
|||||||
conversationRepo.getRecipients()
|
conversationRepo.getRecipients()
|
||||||
.asSequence()
|
.asSequence()
|
||||||
.filter { recipient -> recipient.contact?.lookupKey == lookupKey }
|
.filter { recipient -> recipient.contact?.lookupKey == lookupKey }
|
||||||
.first { recipient -> phoneNumberUtils.compare(recipient.address, address) }
|
.firstOrNull { recipient -> phoneNumberUtils.compare(recipient.address, address) }
|
||||||
?: Recipient(
|
?: Recipient(
|
||||||
address = address,
|
address = address,
|
||||||
contact = lookupKey?.let(contactRepo::getUnmanagedContact))
|
contact = lookupKey?.let(contactRepo::getUnmanagedContact))
|
||||||
|
|||||||
Reference in New Issue
Block a user