diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-04-21 20:28:19 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-21 20:28:19 -0500 |
commit | 2b96279103e0807abc5e7b00d0d3b5369b19b795 (patch) | |
tree | be182c8b60a4c594cea7e9a0dbabb253419fb5ad /src/state/models/session.ts | |
parent | af2fd3cf29858d1a4f4dafd30fffb168815b34c2 (diff) | |
download | voidsky-2b96279103e0807abc5e7b00d0d3b5369b19b795.tar.zst |
Fix link opening (#512)
Diffstat (limited to 'src/state/models/session.ts')
-rw-r--r-- | src/state/models/session.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/state/models/session.ts b/src/state/models/session.ts index 96e058c02..c36537601 100644 --- a/src/state/models/session.ts +++ b/src/state/models/session.ts @@ -158,11 +158,12 @@ export class SessionModel { */ async setActiveSession(agent: BskyAgent, did: string) { this._log('SessionModel:setActiveSession') + const hadSession = !!this.data this.data = { service: agent.service.toString(), did, } - await this.rootStore.handleSessionChange(agent) + await this.rootStore.handleSessionChange(agent, {hadSession}) } /** |