1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-05 23:10:41 +03:00

Show spaces beta prompt when viewing a space without the beta

This commit is contained in:
Michael Telatynski
2021-04-28 08:41:31 +01:00
parent 505b200a87
commit 18a01d9271
6 changed files with 85 additions and 5 deletions

View File

@@ -1910,7 +1910,7 @@ export default class RoomView extends React.Component<IProps, IState> {
);
}
if (SettingsStore.getValue("feature_spaces") && this.state.room?.isSpaceRoom()) {
if (this.state.room?.isSpaceRoom()) {
return <SpaceRoomView
space={this.state.room}
justCreatedOpts={this.props.justCreatedOpts}