Fix link opening (#512)

This commit is contained in:
Paul Frazee
2023-04-21 20:28:19 -05:00
committed by GitHub
parent af2fd3cf29
commit 2b96279103
2 changed files with 9 additions and 3 deletions
+2 -1
View File
@@ -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})
}
/**