Skip to content

Commit

Permalink
Merge pull request #218 from lpx1989/peixinliu/thread-id-integration
Browse files Browse the repository at this point in the history
Make thread ID parameter as optional when placing a CTE group call
  • Loading branch information
sravanthivelidandla committed Mar 1, 2024
2 parents 403fcb1 + d6c03fd commit 47d89dc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Project/src/MakeCall/MakeCall.js
Original file line number Diff line number Diff line change
Expand Up @@ -243,9 +243,7 @@ export default class MakeCall extends React.Component {
}

if (identitiesToCall.length > 1) {
if (this.callAgent.kind === CallAgentKind.TeamsCallAgent && this.threadId === '') {
throw new Error('Thread ID is needed to make Teams Group Call');
} else {
if (this.callAgent.kind === CallAgentKind.TeamsCallAgent && this.threadId?.value !== '') {
callOptions.threadId = this.threadId.value;
}
}
Expand Down

0 comments on commit 47d89dc

Please sign in to comment.