mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-15 06:27:34 -07:00
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
5eca395fcd
1 changed files with 2 additions and 2 deletions
|
@ -413,8 +413,8 @@ export async function updatePerson(
|
||||||
isBot: getApType(object) === "Service",
|
isBot: getApType(object) === "Service",
|
||||||
isCat: (person as any).isCat === true,
|
isCat: (person as any).isCat === true,
|
||||||
isLocked: !!person.manuallyApprovesFollowers,
|
isLocked: !!person.manuallyApprovesFollowers,
|
||||||
movedToUri: person.movedTo,
|
movedToUri: person.movedTo || null,
|
||||||
alsoKnownAs: person.alsoKnownAs,
|
alsoKnownAs: person.alsoKnownAs || null,
|
||||||
isExplorable: !!person.discoverable,
|
isExplorable: !!person.discoverable,
|
||||||
} as Partial<User>;
|
} as Partial<User>;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue