Fix profile link 404s on session change & handle change [APP 523] (#507)
* Use DID to link to the user profile to gracefully handle... handle changes * Reset nav state on active profile change
This commit is contained in:
parent
9f9bd314b3
commit
0f5735b616
2 changed files with 19 additions and 3 deletions
|
@ -21,6 +21,7 @@ import {PreferencesModel} from './ui/preferences'
|
|||
import {resetToTab} from '../../Navigation'
|
||||
import {ImageSizesCache} from './cache/image-sizes'
|
||||
import {MutedThreads} from './muted-threads'
|
||||
import {reset as resetNavigation} from '../../Navigation'
|
||||
|
||||
export const appInfo = z.object({
|
||||
build: z.string(),
|
||||
|
@ -123,6 +124,7 @@ export class RootStoreModel {
|
|||
this.agent = agent
|
||||
this.me.clear()
|
||||
await this.me.load()
|
||||
resetNavigation()
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue