forked from github/cinny
Solves the CHCH sequence issue, CLJH remains
This commit is contained in:
@@ -209,9 +209,8 @@ export function CallProvider({ children }: CallProviderProps) {
|
|||||||
if (activeCallRoomId && viewedCallRoomId === activeCallRoomId) {
|
if (activeCallRoomId && viewedCallRoomId === activeCallRoomId) {
|
||||||
setIsPrimaryIframe(!isPrimaryIframe);
|
setIsPrimaryIframe(!isPrimaryIframe);
|
||||||
} else if (viewedCallRoomId !== viewedRoomId) setViewedCallRoomId(activeCallRoomId);
|
} else if (viewedCallRoomId !== viewedRoomId) setViewedCallRoomId(activeCallRoomId);
|
||||||
} else if (viewedCallRoomId !== null) {
|
|
||||||
setIsPrimaryIframe(!isPrimaryIframe);
|
|
||||||
} else if (activeCallRoomId) setViewedCallRoomId(nextRoom);
|
} else if (activeCallRoomId) setViewedCallRoomId(nextRoom);
|
||||||
|
|
||||||
setActiveClientWidgetApi(null, null, null);
|
setActiveClientWidgetApi(null, null, null);
|
||||||
setActiveCallRoomId(null);
|
setActiveCallRoomId(null);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user