mirror of
https://github.com/element-hq/element-web
synced 2024-11-26 19:26:04 +03:00
if we're not peeking in a room, stop any ongoing peeking
This commit is contained in:
parent
86807b631d
commit
24972a8267
1 changed files with 1 additions and 0 deletions
|
@ -168,6 +168,7 @@ module.exports = React.createClass({
|
|||
}
|
||||
}).done();
|
||||
} else {
|
||||
MatrixClientPeg.get().stopPeeking();
|
||||
this._onRoomLoaded(this.state.room);
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue