fix https://github.com/vector-im/vector-web/issues/1040 and https://github.com/vector-im/vector-web/issues/833
This commit is contained in:
parent
2bedece9a1
commit
bae23c78de
1 changed files with 2 additions and 3 deletions
|
@ -1217,11 +1217,10 @@ module.exports = React.createClass({
|
|||
/>
|
||||
);
|
||||
}
|
||||
else if (this.state.canPeek &&
|
||||
(!myMember || myMember.membership !== "join")) {
|
||||
else if (!myMember || myMember.membership !== "join") {
|
||||
aux = (
|
||||
<RoomPreviewBar onJoinClick={this.onJoinButtonClicked} canJoin={true}
|
||||
spinner={this.state.joining}
|
||||
spinner={this.state.joining} canPreview={ this.state.canPeek }
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue