diff --git a/packages/bsky/src/api/app/bsky/feed/getAuthorFeed.ts b/packages/bsky/src/api/app/bsky/feed/getAuthorFeed.ts index 2fa6114d8be..1f11a9f9b8d 100644 --- a/packages/bsky/src/api/app/bsky/feed/getAuthorFeed.ts +++ b/packages/bsky/src/api/app/bsky/feed/getAuthorFeed.ts @@ -95,10 +95,7 @@ const hydration = async (inputs: { const [feedPostState, profileViewerState = {}] = await Promise.all([ ctx.hydrator.hydrateFeedItems(skeleton.items, params.viewer), params.viewer - ? ctx.hydrator.actor.getProfileViewerStates( - [skeleton.actor.did], - params.viewer, - ) + ? ctx.hydrator.hydrateProfileViewers([skeleton.actor.did], params.viewer) : undefined, ]) return mergeStates(feedPostState, profileViewerState) diff --git a/packages/bsky/src/api/app/bsky/graph/getRelationships.ts b/packages/bsky/src/api/app/bsky/graph/getRelationships.ts index d0fc43d53ab..47aaa6cd083 100644 --- a/packages/bsky/src/api/app/bsky/graph/getRelationships.ts +++ b/packages/bsky/src/api/app/bsky/graph/getRelationships.ts @@ -14,7 +14,10 @@ export default function (server: Server, ctx: AppContext) { }, } } - const res = await ctx.hydrator.actor.getProfileViewerStates(others, actor) + const res = await ctx.hydrator.actor.getProfileViewerStatesNaive( + others, + actor, + ) const relationships = others.map((did) => { const subject = res.get(did) return subject