mirror of https://github.com/vector-im/riot-web
Properly gate SpaceRoomView behind labs
parent
3ac4cb49fc
commit
4ca838d4c7
|
@ -1874,7 +1874,7 @@ export default class RoomView extends React.Component<IProps, IState> {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.state.room?.isSpaceRoom()) {
|
if (SettingsStore.getValue("feature_spaces") && this.state.room?.isSpaceRoom()) {
|
||||||
return <SpaceRoomView
|
return <SpaceRoomView
|
||||||
space={this.state.room}
|
space={this.state.room}
|
||||||
justCreatedOpts={this.props.justCreatedOpts}
|
justCreatedOpts={this.props.justCreatedOpts}
|
||||||
|
|
Loading…
Reference in New Issue