Matthew Hodgson 2016-03-15 22:42:22 +00:00
parent 2bedece9a1
commit bae23c78de

View file

@ -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 }
/> />
); );
} }