Fix detecting account actor

pull/6449/head
Chocobozzz 2024-06-19 17:37:27 +02:00
parent 346be1d478
commit 0d0a965f8a
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}