From 34d8d4a1723b8904ad26b9b8e8d132b477ade232 Mon Sep 17 00:00:00 2001 From: Jesse Date: Wed, 3 Apr 2024 15:50:21 +0400 Subject: [PATCH] fix: add RoomCallLocator to the types for CallWithChatComposite Signed-off-by: Jesse --- .../adapter/AzureCommunicationCallWithChatAdapter.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.ts b/packages/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.ts index cd9ff9b0f9c..063fd2b4241 100644 --- a/packages/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.ts +++ b/packages/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.ts @@ -9,6 +9,7 @@ import { Call, CallAgent, GroupCallLocator, + RoomCallLocator, PermissionConstraints, PropertyChangedEvent, TeamsMeetingLinkLocator, @@ -958,7 +959,7 @@ export type CommunicationAdapter = */ export interface CallAndChatLocator { /** Locator used by {@link createAzureCommunicationCallWithChatAdapter} to locate the call to join */ - callLocator: GroupCallLocator | /* @conditional-compile-remove(teams-adhoc-call) */ CallParticipantsLocator; + callLocator: GroupCallLocator | /* @conditional-compile-remove(teams-adhoc-call) */ CallParticipantsLocator | RoomCallLocator; /** Chat thread ID used by {@link createAzureCommunicationCallWithChatAdapter} to locate the chat thread to join */ chatThreadId: string; }