Remove redundant isUserJoined

pull/21833/head
Luke Barnard 2017-06-15 12:37:01 +01:00
parent b90ceaa111
commit d55d61e456
1 changed files with 1 additions and 1 deletions

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),