mirror of https://github.com/vector-im/riot-web
Only stop peeking if at some point we were joined
parent
5c37d591b0
commit
cc46fd34d7
|
@ -259,7 +259,8 @@ module.exports = React.createClass({
|
|||
}
|
||||
}).done();
|
||||
}
|
||||
} else {
|
||||
} else if (room) {
|
||||
// Stop peeking because we have joined this room previously
|
||||
MatrixClientPeg.get().stopPeeking();
|
||||
this.setState({
|
||||
unsentMessageError: this._getUnsentMessageError(room),
|
||||
|
|
Loading…
Reference in New Issue