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
No known key found for this signature in database
GPG key ID: D044E84C5BE01605

View file

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