mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-26 11:57:34 -07:00
parent
b985426838
commit
7fbab77ef9
1 changed files with 2 additions and 2 deletions
|
@ -150,7 +150,7 @@ export async function createPerson(uri: string, resolver?: Resolver): Promise<Us
|
|||
createdAt: new Date(),
|
||||
lastFetchedAt: new Date(),
|
||||
name: person.name,
|
||||
isLocked: person.manuallyApprovesFollowers,
|
||||
isLocked: !!person.manuallyApprovesFollowers,
|
||||
username: person.preferredUsername,
|
||||
usernameLower: person.preferredUsername.toLowerCase(),
|
||||
host,
|
||||
|
@ -319,7 +319,7 @@ export async function updatePerson(uri: string, resolver?: Resolver | null, hint
|
|||
tags,
|
||||
isBot: object.type == 'Service',
|
||||
isCat: (person as any).isCat === true,
|
||||
isLocked: person.manuallyApprovesFollowers,
|
||||
isLocked: !!person.manuallyApprovesFollowers,
|
||||
} as Partial<User>;
|
||||
|
||||
if (avatar) {
|
||||
|
|
Loading…
Reference in a new issue