mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-09-11 21:47:09 +03:00
Fix detecting account actor
This commit is contained in:
parent
346be1d478
commit
0d0a965f8a
@ -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 New Issue
Block a user