ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix detecting account actor
Chocobozzz0d0a965f8a8f
diff --git a/server/core/helpers/actors.ts b/server/core/helpers/actors.tsindex 5e92fc0082..f811ac25d5 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)}