Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix createAzureCommunicationCallWithChatAdapterFromClients for breakout rooms #5683

Conversation

mgamis-msft
Copy link
Contributor

@mgamis-msft mgamis-msft commented Mar 5, 2025

What

Ensure createChatAdapterCallback is set for AzureCommunicationCallWithChatAdapter in createAzureCommunicationCallWithChatAdapterFromClients so that a new ChatAdapter can be created when joining a breakout room

Why

To resolve #5675

How Tested

I tested using createAzureCommunicationCallWithChatAdapterFromClients to create a CallWithChatAdapter for a CallWithChatComposite in the quickstarts repo and first verified I got the same error in the issue above:
Unable to create chat adapter for thread because createChatAdapterCallback is not set at AzureCommunicationCallWithChatAdapter.createNewChatAdapterForThread
I then tested this branch by packaging the communication-react package for the quickstarts repo and verified that the error was resolved and a new ChatAdapter was created when joining a breakout room

Process & policy checklist

  • I have updated the project documentation to reflect my changes if necessary.
  • I have read the CONTRIBUTING documentation.

Is this a breaking change?

  • This change causes current functionality to break.

…llWithChatAdapterFromClients so that a new ChatAdapter can be created when joining a breakout room
Copy link
Contributor

github-actions bot commented Mar 5, 2025

Copy link
Contributor

github-actions bot commented Mar 5, 2025

@azure/communication-react jest test coverage for stable.

Lines Statements Functions Branches
Base 28079 / 44693
62.82%
28079 / 44693
62.82%
786 / 1436
54.73%
2352 / 3726
63.12%
Current 28023 / 44693
62.7%
28023 / 44693
62.7%
786 / 1436
54.73%
2343 / 3715
63.06%
Diff -56 / 0
-0.12%
-56 / 0
-0.12%
0 / 0
0%
-9 / -11
-0.06%

Copy link
Contributor

github-actions bot commented Mar 5, 2025

@azure/communication-react jest test coverage for beta.

Lines Statements Functions Branches
Base 58220 / 94260
61.76%
58220 / 94260
61.76%
1177 / 2693
43.7%
3532 / 5829
60.59%
Current 58270 / 94265
61.81%
58270 / 94265
61.81%
1178 / 2693
43.74%
3564 / 5840
61.02%
Diff 50 / 5
0.05%
50 / 5
0.05%
1 / 0
0.04%
32 / 11
0.43%

@mgamis-msft mgamis-msft enabled auto-merge (squash) March 5, 2025 19:02
Copy link
Contributor

github-actions bot commented Mar 5, 2025

Chat bundle size is not changed.

  • Current size: 1777647
  • Base size: 1777647
  • Diff size: 0

Copy link
Contributor

github-actions bot commented Mar 5, 2025

CallWithChat bundle size is not changed.

  • Current size: 12401112
  • Base size: 12401112
  • Diff size: 0

Copy link
Contributor

github-actions bot commented Mar 5, 2025

Calling bundle size is not changed.

  • Current size: 12401100
  • Base size: 12401100
  • Diff size: 0

Copy link
Contributor

github-actions bot commented Mar 5, 2025

@mgamis-msft mgamis-msft merged commit 2cd5e81 into main Mar 5, 2025
41 checks passed
@mgamis-msft mgamis-msft deleted the mgamis/fix-createAzureCommunicationCallWithChatAdapterFromClients branch March 5, 2025 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Breakout rooms chat not working in 1.24
3 participants