1
0
Fork 0

Fix detecting account actor

This commit is contained in:
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

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