Fix user update for users without sharedInbox

This commit is contained in:
Laura Hausmann 2023-09-09 21:13:03 +02:00
parent 2f103229e5
commit f6dc9e094b
Signed by: zotan
GPG key ID: D044E84C5BE01605

View file

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