fix: updatePerson's Followings.update call not working if no sharedInbox

This commit is contained in:
Marie Piontek 2023-08-11 10:25:32 +00:00
parent c456b1082d
commit 046fc88a6c

View file

@ -554,7 +554,7 @@ export async function updatePerson(
{
followerSharedInbox:
person.sharedInbox ||
(person.endpoints ? person.endpoints.sharedInbox : undefined),
(person.endpoints ? person.endpoints.sharedInbox : null),
},
);