diff --git a/src/app/pages/client/call/PersistentCallContainer.tsx b/src/app/pages/client/call/PersistentCallContainer.tsx index 3e44df3e..cc597f0e 100644 --- a/src/app/pages/client/call/PersistentCallContainer.tsx +++ b/src/app/pages/client/call/PersistentCallContainer.tsx @@ -65,7 +65,9 @@ export function PersistentCallContainer({ children }: PersistentCallContainerPro (!activeCallRoomId && viewedCallRoomId && !isCallActive) ) { const roomIdToSet = (skipLobby ? activeCallRoomId : viewedCallRoomId) ?? ''; - + if (roomIdToSet === '') { + return; + } const widgetId = `element-call-${roomIdToSet}-${Date.now()}`; const newUrl = getWidgetUrl( mx,