From 0d0a965f8a8f43480802be11b67775b89a0f2e5f Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 19 Jun 2024 17:37:27 +0200 Subject: [PATCH] Fix detecting account actor --- server/core/helpers/actors.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/core/helpers/actors.ts b/server/core/helpers/actors.ts index 5e92fc008..f811ac25d 100644 --- a/server/core/helpers/actors.ts +++ b/server/core/helpers/actors.ts @@ -12,7 +12,7 @@ export function handlesToNameAndHost (handles: string[]) { return handles.map(h => handleToNameAndHost(h)) } -const accountType = new Set([ 'Person', 'Application', 'Group', 'Service', 'Organization' ]) +const accountType = new Set([ 'Person', 'Application', 'Service', 'Organization' ]) export function isAccountActor (type: ActivityPubActorType) { return accountType.has(type) }