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

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,