1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-19 20:23:18 +03:00

if we're not peeking in a room, stop any ongoing peeking

This commit is contained in:
Matthew Hodgson
2016-03-18 19:23:30 +00:00
parent 86807b631d
commit 24972a8267

View File

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