Skip to content

Commit

Permalink
Merge branch 'dmceachernmsft/accessibility-provider' of https://githu…
Browse files Browse the repository at this point in the history
…b.com/Azure/communication-ui-library into dmceachernmsft/accessibility-provider
  • Loading branch information
dmceachernmsft committed Mar 5, 2025
2 parents 5ae2cc4 + 40a8162 commit 14f3cfd
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"type": "patch",
"area": "fix",
"workstream": "Breakout rooms",
"comment": "Ensure createChatAdapterCallback is set for AzureCommunicationCallWithChatAdapter in createAzureCommunicationCallWithChatAdapterFromClients so that a new ChatAdapter can be created when joining a breakout room",
"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": "Breakout rooms",
"comment": "Ensure createChatAdapterCallback is set for AzureCommunicationCallWithChatAdapter in createAzureCommunicationCallWithChatAdapterFromClients so that a new ChatAdapter can be created when joining a breakout room",
"packageName": "@azure/communication-react",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
Expand Up @@ -1471,7 +1471,12 @@ export const createAzureCommunicationCallWithChatAdapterFromClients = async ({
callAdapterOptions
);
const chatAdapter = await createAzureCommunicationChatAdapterFromClient(chatClient, chatThreadClient);
return new AzureCommunicationCallWithChatAdapter(callAdapter, chatAdapter);
const callWithChatAdapter = new AzureCommunicationCallWithChatAdapter(callAdapter, chatAdapter);
/* @conditional-compile-remove(breakout-rooms) */
callWithChatAdapter.setCreateChatAdapterCallback((threadId: string) =>
createAzureCommunicationChatAdapterFromClient(chatClient, chatClient.getChatThreadClient(threadId))
);
return callWithChatAdapter;
};

/**
Expand Down

0 comments on commit 14f3cfd

Please sign in to comment.