mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 11:47:23 +03:00
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