mirror of
https://github.com/vector-im/element-call.git
synced 2026-07-12 18:39:19 +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(() => {
|
useEffect(() => {
|
||||||
// Sanity check the room object
|
// Sanity check the room object
|
||||||
if (client.getRoom(rtcSession.room.roomId) !== rtcSession.room) {
|
if (client.getRoom(rtcSession.room.roomId) !== rtcSession.room)
|
||||||
logger.warn(
|
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.`,
|
`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]);
|
}, [client, rtcSession.room]);
|
||||||
|
|
||||||
const room = rtcSession.room as Room;
|
const room = rtcSession.room as Room;
|
||||||
|
|||||||
Reference in New Issue
Block a user