mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-03-04 07:18:50 -07:00
updatePersonで再割り当てを考慮する
This commit is contained in:
parent
fd4566b9e7
commit
22c7d953f4
1 changed files with 6 additions and 1 deletions
|
@ -293,7 +293,12 @@ export async function updatePerson(uri: string, resolver?: Resolver): Promise<vo
|
|||
endpoints: person.endpoints,
|
||||
isBot: object.type == 'Service',
|
||||
isCat: (person as any).isCat === true ? true : false,
|
||||
isLocked: person.manuallyApprovesFollowers
|
||||
isLocked: person.manuallyApprovesFollowers,
|
||||
createdAt: Date.parse(person.published) || null,
|
||||
publicKey: {
|
||||
id: person.publicKey.id,
|
||||
publicKeyPem: person.publicKey.publicKeyPem
|
||||
},
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue