Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Invalidate profiles cache on direct load

+7
+1
src/state/models/profile-view.ts
··· 140 140 const res = await this.rootStore.api.app.bsky.actor.getProfile( 141 141 this.params, 142 142 ) 143 + this.rootStore.profiles.overwrite(this.params.actor, res) // cache invalidation 143 144 this._replaceAll(res) 144 145 this._xIdle() 145 146 } catch (e: any) {
+6
src/state/models/profiles-view.ts
··· 41 41 throw e 42 42 } 43 43 } 44 + 45 + overwrite(did: string, res: GetProfile.Response) { 46 + if (this.cache.has(did)) { 47 + this.cache.set(did, res) 48 + } 49 + } 44 50 }