mirror of
https://github.com/element-hq/element-call.git
synced 2026-10-23 21:44:23 +00:00
this was doing nothing (it is a fragment back when there was no deprecated rtcSession.room)
This commit is contained in:
1 parent
7de17e50ca
commit
26d3cf2b42
1 file changed
+1
-3
@@ -149,12 +149,10 @@ export const GroupCallView: FC<Props> = ({
|
||||
);
|
||||
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;
|
||||
|
||||
Reference in new issue
Block a user