mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-22 11:05:03 +01:00
actually apply the /session/<id> url after login!
This commit is contained in:
parent
e6ed518aef
commit
2333a959a2
@ -100,6 +100,7 @@ export class RootViewModel extends ViewModel {
|
||||
createSessionContainer: this._createSessionContainer,
|
||||
ready: sessionContainer => {
|
||||
const url = this.urlRouter.urlForSegment("session", sessionContainer.sessionId);
|
||||
this.urlRouter.applyUrl(url);
|
||||
this.urlRouter.history.replaceUrl(url);
|
||||
this._showSession(sessionContainer);
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user