mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 19:45:05 +01:00
Actually make SessionLoadViewModel.logout do something
This commit is contained in:
parent
1482ba24bf
commit
887c3d4f89
@ -154,7 +154,8 @@ export class SessionLoadViewModel extends ViewModel {
|
||||
}
|
||||
|
||||
async logout() {
|
||||
await this._client.logout();
|
||||
const sessionId = this.navigation.path.get("session")?.value;
|
||||
await this._client.startLogout(sessionId);
|
||||
this.navigation.push("session", true);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user