mirror of https://github.com/Chocobozzz/PeerTube
Manual approves followers only for the instance
And not for accounts or channels of the instancepull/2712/head
parent
017fbe1855
commit
7d233f1dd9
|
@ -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 })
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue