1
0
mirror of https://github.com/element-hq/element-web.git synced 2025-11-29 21:23:11 +03:00

Don't use m.call for Jitsi video rooms (#8223)

This commit is contained in:
Robin
2022-04-04 10:29:40 -04:00
committed by GitHub
parent ba71fb169f
commit 371ccd7858
11 changed files with 14 additions and 14 deletions

View File

@@ -375,7 +375,7 @@ export class RoomView extends React.Component<IRoomProps, IRoomState> {
};
private getMainSplitContentType = (room: Room) => {
if (SettingsStore.getValue("feature_video_rooms") && room.isCallRoom()) {
if (SettingsStore.getValue("feature_video_rooms") && room.isElementVideoRoom()) {
return MainSplitContentType.Video;
}
if (WidgetLayoutStore.instance.hasMaximisedWidget(room)) {