fix: speakAsCat not pulled on AP User Update

This commit is contained in:
Mar0xy 2023-10-04 04:37:51 +02:00
parent 89924b587a
commit 4bf5c0856f
No known key found for this signature in database
GPG Key ID: 56569BBE47D2C828
1 changed files with 1 additions and 0 deletions

View File

@ -461,6 +461,7 @@ export class ApPersonService implements OnModuleInit {
tags,
isBot: getApType(object) === 'Service',
isCat: (person as any).isCat === true,
speakAsCat: (person as any).speakAsCat != null ? (person as any).speakAsCat === true : (person as any).isCat === true,
isLocked: person.manuallyApprovesFollowers,
movedToUri: person.movedTo ?? null,
alsoKnownAs: person.alsoKnownAs ?? null,