ActivityPub-federated video streaming platform using P2P directly in your web browser
Manual approves followers only for the instance
Chocobozzz7d233f1dd9c5
diff --git a/server/lib/activitypub/process/process-follow.ts b/server/lib/activitypub/process/process-follow.tsindex 85f22d654e..0b98d4af2b 100644--- a/server/lib/activitypub/process/process-follow.ts+++ b/server/lib/activitypub/process/process-follow.ts@@ -59,7 +59,7 @@ async function processFollow (byActor: MActorSignature, targetActorURL: string)transaction: t})- if (actorFollow.state !== 'accepted' && CONFIG.FOLLOWERS.INSTANCE.MANUAL_APPROVAL === false) {+ if (actorFollow.state !== 'accepted' && isFollowingInstance && CONFIG.FOLLOWERS.INSTANCE.MANUAL_APPROVAL === false) {actorFollow.state = 'accepted'await actorFollow.save({ transaction: t })}