fix: set remote users to approved on updates

This commit is contained in:
Mar0xy 2023-10-18 21:32:28 +02:00
parent 07b72c65b9
commit c79abfa8d9
No known key found for this signature in database
GPG key ID: 56569BBE47D2C828

View file

@ -464,6 +464,7 @@ export class ApPersonService implements OnModuleInit {
emojis: emojiNames,
name: truncate(person.name, nameLength),
tags,
approved: true,
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,