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:
Matthew Hodgson 2016-03-21 16:17:00 +00:00
commit 11be2e1cad

View file

@ -168,6 +168,7 @@ module.exports = React.createClass({
}
}).done();
} else {
MatrixClientPeg.get().stopPeeking();
this._onRoomLoaded(this.state.room);
}
},