diff options
author | Eric Bailey <git@esb.lol> | 2023-08-15 11:59:34 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-15 09:59:34 -0700 |
commit | a3af2a2b850f5561d5a0b9504e0b6ea9aca07cb7 (patch) | |
tree | 2d0aa5063c2eae68afb3b9364905d672987ea039 /src/state/models/me.ts | |
parent | 4d953f0504b0a8e0966105e9a60630b65e468898 (diff) | |
download | voidsky-a3af2a2b850f5561d5a0b9504e0b6ea9aca07cb7.tar.zst |
use user.handle response from getProfile, not getSession (#1165)
Diffstat (limited to 'src/state/models/me.ts')
-rw-r--r-- | src/state/models/me.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state/models/me.ts b/src/state/models/me.ts index 59d79f056..e46c0e80f 100644 --- a/src/state/models/me.ts +++ b/src/state/models/me.ts @@ -104,7 +104,6 @@ export class MeModel { this.rootStore.log.debug('MeModel:load', {hasSession: sess.hasSession}) if (sess.hasSession) { this.did = sess.currentSession?.did || '' - this.handle = sess.currentSession?.handle || '' await this.fetchProfile() this.mainFeed.clear() /* dont await */ this.mainFeed.setup().catch(e => { @@ -144,6 +143,7 @@ export class MeModel { this.displayName = profile.data.displayName || '' this.description = profile.data.description || '' this.avatar = profile.data.avatar || '' + this.handle = profile.data.handle || '' this.followsCount = profile.data.followsCount this.followersCount = profile.data.followersCount } else { |