You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-11-29 21:23:11 +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:
@@ -1217,11 +1217,10 @@ module.exports = React.createClass({
|
|||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
else if (this.state.canPeek &&
|
else if (!myMember || myMember.membership !== "join") {
|
||||||
(!myMember || myMember.membership !== "join")) {
|
|
||||||
aux = (
|
aux = (
|
||||||
<RoomPreviewBar onJoinClick={this.onJoinButtonClicked} canJoin={true}
|
<RoomPreviewBar onJoinClick={this.onJoinButtonClicked} canJoin={true}
|
||||||
spinner={this.state.joining}
|
spinner={this.state.joining} canPreview={ this.state.canPeek }
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user