mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 21:24:59 +08:00
notify new screen after setting state
This commit is contained in:
parent
b85dc7b5a8
commit
3ce47a0181
@ -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);
|
||||
});
|
||||
});
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user