From 26d3cf2b42e27e08afd629d84532c294ffcfd67d Mon Sep 17 00:00:00 2001 From: Timo Date: Fri, 28 Feb 2025 14:45:30 +0100 Subject: [PATCH] this was doing nothing (it is a fragment back when there was no deprecated `rtcSession.room`) --- src/room/GroupCallView.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/room/GroupCallView.tsx b/src/room/GroupCallView.tsx index 04e1080e..b5ab57a9 100644 --- a/src/room/GroupCallView.tsx +++ b/src/room/GroupCallView.tsx @@ -149,12 +149,10 @@ export const GroupCallView: FC = ({ ); useEffect(() => { // Sanity check the room object - if (client.getRoom(rtcSession.room.roomId) !== rtcSession.room) { + if (client.getRoom(rtcSession.room.roomId) !== rtcSession.room) logger.warn( `We've ended up with multiple rooms for the same ID (${rtcSession.room.roomId}). This indicates a bug in the group call loading code, and may lead to incomplete room state.`, ); - return undefined; - } }, [client, rtcSession.room]); const room = rtcSession.room as Room;