diff --git a/ts/components/CompositionArea.tsx b/ts/components/CompositionArea.tsx index ad180a7f87..3e905830c7 100644 --- a/ts/components/CompositionArea.tsx +++ b/ts/components/CompositionArea.tsx @@ -119,7 +119,7 @@ export type OwnProps = Readonly<{ conversationId: string, options: { draftAttachments?: ReadonlyArray; - mentions?: ReadonlyArray; + draftBodyRanges?: ReadonlyArray; message?: string; timestamp?: number; voiceNoteAttachment?: InMemoryAttachmentDraftType; @@ -313,7 +313,7 @@ export function CompositionArea({ emojiButtonRef.current?.close(); sendMultiMediaMessage(conversationId, { draftAttachments, - mentions, + draftBodyRanges: mentions, message, timestamp, });