mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 12:19:41 +00:00
Fix sending of at-mentions
This commit is contained in:
@@ -119,7 +119,7 @@ export type OwnProps = Readonly<{
|
||||
conversationId: string,
|
||||
options: {
|
||||
draftAttachments?: ReadonlyArray<AttachmentDraftType>;
|
||||
mentions?: ReadonlyArray<DraftBodyRangeMention>;
|
||||
draftBodyRanges?: ReadonlyArray<DraftBodyRangeMention>;
|
||||
message?: string;
|
||||
timestamp?: number;
|
||||
voiceNoteAttachment?: InMemoryAttachmentDraftType;
|
||||
@@ -313,7 +313,7 @@ export function CompositionArea({
|
||||
emojiButtonRef.current?.close();
|
||||
sendMultiMediaMessage(conversationId, {
|
||||
draftAttachments,
|
||||
mentions,
|
||||
draftBodyRanges: mentions,
|
||||
message,
|
||||
timestamp,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user