Merge pull request #5750 from matrix-org/t3chguy/spaces4.6

[Release] Properly gate SpaceRoomView behind labs
pull/21833/head
Michael Telatynski 2021-03-11 11:17:39 +00:00 committed by GitHub
commit d591e507da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1911,7 +1911,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}