Merge pull request #234 from matrix-org/matthew/stop-peeking
if we're not peeking in a room, stop any ongoing peeking
This commit is contained in:
commit
11be2e1cad
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