diff options
author | Eric Bailey <git@esb.lol> | 2024-06-14 11:56:43 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-14 11:56:43 -0500 |
commit | fe3f872d493d3b80941bf496f1d5eb4c6d29fd6a (patch) | |
tree | b05c35d88a430ddf1397139bf7252768134eb020 /src/state/cache/profile-shadow.ts | |
parent | 4c0f0378808410513558696a12a68bbd3c1d9a75 (diff) | |
download | voidsky-fe3f872d493d3b80941bf496f1d5eb4c6d29fd6a.tar.zst |
Add known followers to shadow cache (#4517)
Diffstat (limited to 'src/state/cache/profile-shadow.ts')
-rw-r--r-- | src/state/cache/profile-shadow.ts | 2 |
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) } |