Manual approves followers only for the instance
And not for accounts or channels of the instance
This commit is contained in:
parent
017fbe1855
commit
7d233f1dd9
|
@ -59,7 +59,7 @@ async function processFollow (byActor: MActorSignature, targetActorURL: string)
|
||||||
transaction: t
|
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'
|
actorFollow.state = 'accepted'
|
||||||
await actorFollow.save({ transaction: t })
|
await actorFollow.save({ transaction: t })
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue