From 1ce0f778e72a84f801adc904977f35153bb1fe90 Mon Sep 17 00:00:00 2001 From: Laura Hausmann Date: Tue, 12 Sep 2023 00:12:13 +0200 Subject: [PATCH] Fix fetching pinned notes for remote servers that return a collection of note URIs instead of AP objects, resolves #201 --- packages/backend/src/remote/activitypub/models/person.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/backend/src/remote/activitypub/models/person.ts b/packages/backend/src/remote/activitypub/models/person.ts index bd12f02cb..97339aec9 100644 --- a/packages/backend/src/remote/activitypub/models/person.ts +++ b/packages/backend/src/remote/activitypub/models/person.ts @@ -724,6 +724,7 @@ export async function updateFeatured(userId: User["id"], resolver?: Resolver) { ); // Resolve and regist Notes + resolver.reset(); const limit = promiseLimit(2); const featuredNotes = await Promise.all( items