diff --git a/src/components/structures/MatrixChat.js b/src/components/structures/MatrixChat.js index 874149f2c6..b7f1ead15c 100644 --- a/src/components/structures/MatrixChat.js +++ b/src/components/structures/MatrixChat.js @@ -874,9 +874,10 @@ export default createReactClass({ if (roomInfo.event_id && roomInfo.highlighted) { presentedId += "/" + roomInfo.event_id; } - this.notifyNewScreen('room/' + presentedId); newState.ready = true; - this.setState(newState); + this.setState(newState, ()=>{ + this.notifyNewScreen('room/' + presentedId); + }); }); },