Fix sending of at-mentions
This commit is contained in:
parent
76b9d07acf
commit
5574b08f4c
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue