about summary refs log tree commit diff
path: root/src/state/cache
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2024-06-14 11:56:43 -0500
committerGitHub <noreply@github.com>2024-06-14 11:56:43 -0500
commitfe3f872d493d3b80941bf496f1d5eb4c6d29fd6a (patch)
treeb05c35d88a430ddf1397139bf7252768134eb020 /src/state/cache
parent4c0f0378808410513558696a12a68bbd3c1d9a75 (diff)
downloadvoidsky-fe3f872d493d3b80941bf496f1d5eb4c6d29fd6a.tar.zst
Add known followers to shadow cache (#4517)
Diffstat (limited to 'src/state/cache')
-rw-r--r--src/state/cache/profile-shadow.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/state/cache/profile-shadow.ts b/src/state/cache/profile-shadow.ts
index 0a618ab3b..dc907664e 100644
--- a/src/state/cache/profile-shadow.ts
+++ b/src/state/cache/profile-shadow.ts
@@ -5,6 +5,7 @@ import EventEmitter from 'eventemitter3'
 
 import {batchedUpdates} from '#/lib/batchedUpdates'
 import {findAllProfilesInQueryData as findAllProfilesInActorSearchQueryData} from '../queries/actor-search'
+import {findAllProfilesInQueryData as findAllProfilesInKnownFollowersQueryData} from '../queries/known-followers'
 import {findAllProfilesInQueryData as findAllProfilesInListMembersQueryData} from '../queries/list-members'
 import {findAllProfilesInQueryData as findAllProfilesInListConvosQueryData} from '../queries/messages/list-converations'
 import {findAllProfilesInQueryData as findAllProfilesInMyBlockedAccountsQueryData} from '../queries/my-blocked-accounts'
@@ -111,4 +112,5 @@ function* findProfilesInCache(
   yield* findAllProfilesInListConvosQueryData(queryClient, did)
   yield* findAllProfilesInFeedsQueryData(queryClient, did)
   yield* findAllProfilesInPostThreadQueryData(queryClient, did)
+  yield* findAllProfilesInKnownFollowersQueryData(queryClient, did)
 }