Skip to content

Conversation

@dmceachernmsft
Copy link
Member

Purpose

  • ...

Does this introduce a breaking change?

[ ] Yes
[ x ] No

Pull Request Type

What kind of change does this Pull Request introduce?

[ x ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

How to Test

  • Get the code
git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install
  • Test the code

What to Check

Verify that the following are valid

  • ...

Other Information

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR refactors the active call details initialization logic to improve error handling and code organization. The changes wrap event listener registration and active call retrieval in a try-catch block to handle scenarios where the active call transfer feature may not be available in certain SDK versions.

Key Changes:

  • Event listener registrations for activeCallsUpdated and noActiveCalls are now wrapped in a try-catch block
  • Active call details retrieval has been moved inside the try-catch block alongside event listener registration
  • The autoJoinMeetingByMeetingLink() call remains outside the error handling block

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@vriosrada-msft vriosrada-msft merged commit 80b3f66 into main Nov 3, 2025
9 checks passed
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.

4 participants