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,
|
conversationId: string,
|
||||||
options: {
|
options: {
|
||||||
draftAttachments?: ReadonlyArray<AttachmentDraftType>;
|
draftAttachments?: ReadonlyArray<AttachmentDraftType>;
|
||||||
mentions?: ReadonlyArray<DraftBodyRangeMention>;
|
draftBodyRanges?: ReadonlyArray<DraftBodyRangeMention>;
|
||||||
message?: string;
|
message?: string;
|
||||||
timestamp?: number;
|
timestamp?: number;
|
||||||
voiceNoteAttachment?: InMemoryAttachmentDraftType;
|
voiceNoteAttachment?: InMemoryAttachmentDraftType;
|
||||||
|
@ -313,7 +313,7 @@ export function CompositionArea({
|
||||||
emojiButtonRef.current?.close();
|
emojiButtonRef.current?.close();
|
||||||
sendMultiMediaMessage(conversationId, {
|
sendMultiMediaMessage(conversationId, {
|
||||||
draftAttachments,
|
draftAttachments,
|
||||||
mentions,
|
draftBodyRanges: mentions,
|
||||||
message,
|
message,
|
||||||
timestamp,
|
timestamp,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue