From 3a521836693a3faaf42eb3f371e04c272af5fa78 Mon Sep 17 00:00:00 2001 From: Mar0xy Date: Wed, 18 Oct 2023 21:32:28 +0200 Subject: [PATCH] fix: set remote users to approved on updates --- packages/backend/src/core/activitypub/models/ApPersonService.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/backend/src/core/activitypub/models/ApPersonService.ts b/packages/backend/src/core/activitypub/models/ApPersonService.ts index bdfbab30ee1a..a241fb8afc31 100644 --- a/packages/backend/src/core/activitypub/models/ApPersonService.ts +++ b/packages/backend/src/core/activitypub/models/ApPersonService.ts @@ -457,6 +457,7 @@ export class ApPersonService implements OnModuleInit { emojis: emojiNames, name: truncate(person.name, nameLength), tags, + approved: true, isBot: getApType(object) === 'Service' || getApType(object) === 'Application', isCat: (person as any).isCat === true, isLocked: person.manuallyApprovesFollowers,