mirror of
https://github.com/vector-im/element-call.git
synced 2026-03-28 06:50:26 +00:00
this was doing nothing (it is a fragment back when there was no deprecated rtcSession.room)
This commit is contained in:
@@ -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