You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-11-28 09:24:05 +03:00
Only stop peeking if at some point we were joined
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user