Only show the integ management button if user is joined

This commit is contained in:
Luke Barnard 2017-09-18 13:34:33 +01:00
parent 09e6ea00c5
commit caaf5cca14
2 changed files with 2 additions and 2 deletions

View file

@ -324,7 +324,7 @@ module.exports = React.createClass({
let rightRow;
let manageIntegsButton;
if(this.props.room && this.props.room.roomId) {
if(this.props.room && this.props.room.roomId && this.props.inRoom) {
manageIntegsButton = <ManageIntegsButton
roomId={this.props.room.roomId}
/>;