Restore ability to message someone from embedded contact
This commit is contained in:
parent
f77175f6b3
commit
302604f67e
18 changed files with 311 additions and 236 deletions
|
@ -1443,7 +1443,7 @@ export function getMessagePropStatus(
|
|||
export function getPropsForEmbeddedContact(
|
||||
message: MessageWithUIFieldsType,
|
||||
regionCode: string | undefined,
|
||||
accountSelector: (identifier?: string) => boolean
|
||||
accountSelector: (identifier?: string) => UUIDStringType | undefined
|
||||
): EmbeddedContactType | undefined {
|
||||
const contacts = message.contact;
|
||||
if (!contacts || !contacts.length) {
|
||||
|
@ -1459,7 +1459,7 @@ export function getPropsForEmbeddedContact(
|
|||
getAbsoluteAttachmentPath:
|
||||
window.Signal.Migrations.getAbsoluteAttachmentPath,
|
||||
firstNumber,
|
||||
isNumberOnSignal: accountSelector(firstNumber),
|
||||
uuid: accountSelector(firstNumber),
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue