From 24972a8267361f49060bcfc44d8bb0673fce2c6a Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Fri, 18 Mar 2016 19:23:30 +0000 Subject: [PATCH] if we're not peeking in a room, stop any ongoing peeking --- src/components/structures/RoomView.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/structures/RoomView.js b/src/components/structures/RoomView.js index 409882f5e4..423e98055e 100644 --- a/src/components/structures/RoomView.js +++ b/src/components/structures/RoomView.js @@ -168,6 +168,7 @@ module.exports = React.createClass({ } }).done(); } else { + MatrixClientPeg.get().stopPeeking(); this._onRoomLoaded(this.state.room); } },