Merge pull request 'Set movedToUri & alsoKnownAs null when undefined' (#9684) from supakaity/calckey:ada/moved-to-update into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9684
This commit is contained in:
commit
44ba4c524e
|
@ -413,8 +413,8 @@ export async function updatePerson(
|
|||
isBot: getApType(object) === "Service",
|
||||
isCat: (person as any).isCat === true,
|
||||
isLocked: !!person.manuallyApprovesFollowers,
|
||||
movedToUri: person.movedTo,
|
||||
alsoKnownAs: person.alsoKnownAs,
|
||||
movedToUri: person.movedTo || null,
|
||||
alsoKnownAs: person.alsoKnownAs || null,
|
||||
isExplorable: !!person.discoverable,
|
||||
} as Partial<User>;
|
||||
|
||||
|
|
Loading…
Reference in New Issue