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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 3 deletions

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})
}
/**