Remove redundant isUserJoined

This commit is contained in:
Luke Barnard 2017-06-15 12:37:01 +01:00
parent b90ceaa111
commit d55d61e456

View file

@ -258,7 +258,7 @@ module.exports = React.createClass({
} }
}).done(); }).done();
} }
} else if (isUserJoined) { } else {
MatrixClientPeg.get().stopPeeking(); MatrixClientPeg.get().stopPeeking();
this.setState({ this.setState({
unsentMessageError: this._getUnsentMessageError(room), unsentMessageError: this._getUnsentMessageError(room),