Merge pull request #234 from matrix-org/matthew/stop-peeking
if we're not peeking in a room, stop any ongoing peekingpull/21833/head
commit
11be2e1cad
|
@ -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);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue