Skip to content

Commit

Permalink
[Chat] Fixed the issue where Rich Text Editor doesn't send HTML messa…
Browse files Browse the repository at this point in the history
…ges if there are attached files (#4747)
  • Loading branch information
jpeng-ms authored Jun 18, 2024
1 parent bae8c29 commit b6c5aa2
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"type": "patch",
"area": "fix",
"workstream": "File Sharing",
"comment": "Fixed the issue where Rich Text Editor cannot send rich text with file attachments",
"packageName": "@azure/communication-react",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"type": "patch",
"area": "fix",
"workstream": "File Sharing",
"comment": "Fixed the issue where Rich Text Editor cannot send rich text with file attachments",
"packageName": "@azure/communication-react",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ export const createDefaultChatHandlers = memoizeOne(
metadata: {
...options?.metadata,
fileSharingMetadata: JSON.stringify(options?.attachments)
}
},
type: options.type
};
await chatThreadClient.sendMessage(sendMessageRequest, chatSDKOptions);
return;
Expand Down

0 comments on commit b6c5aa2

Please sign in to comment.