From 046fc88a6c131331e296b31274bff5b1c3787ab8 Mon Sep 17 00:00:00 2001 From: Marie Piontek Date: Fri, 11 Aug 2023 10:25:32 +0000 Subject: [PATCH] fix: updatePerson's Followings.update call not working if no sharedInbox --- packages/backend/src/remote/activitypub/models/person.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/remote/activitypub/models/person.ts b/packages/backend/src/remote/activitypub/models/person.ts index 8f17cfae8..813e4c81c 100644 --- a/packages/backend/src/remote/activitypub/models/person.ts +++ b/packages/backend/src/remote/activitypub/models/person.ts @@ -554,7 +554,7 @@ export async function updatePerson( { followerSharedInbox: person.sharedInbox || - (person.endpoints ? person.endpoints.sharedInbox : undefined), + (person.endpoints ? person.endpoints.sharedInbox : null), }, );