Fix detecting account actor
This commit is contained in:
parent
346be1d478
commit
0d0a965f8a
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue