Skip to content

Commit

Permalink
[Chat] Fix Message Type Being Hardcoded (#3442)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpeng-ms authored Aug 14, 2023
1 parent 73a825e commit b6d9163
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"type": "patch",
"area": "fix",
"workstream": "Stateful Client",
"comment": "Fix message type being hard coded in sending state",
"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": "Stateful Client",
"comment": "Fix message type being hard coded in sending state",
"packageName": "@azure/communication-react",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class ProxyChatThreadClient implements ProxyHandler<ChatThreadClient> {
content: { message: content },
clientMessageId,
id: '',
type: 'text',
type: options?.type ?? 'text',
sequenceId: '',
version: '',
createdOn: new Date(),
Expand Down

0 comments on commit b6d9163

Please sign in to comment.