mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 19:42:24 +02:00
Add auto follow back support for instances
This commit is contained in:
parent
f69ec5f340
commit
8424c4026a
44 changed files with 652 additions and 157 deletions
|
@ -24,7 +24,7 @@ async function processAccept (actor: MActorDefault, targetActor: MActorSignature
|
|||
if (!follow) throw new Error('Cannot find associated follow.')
|
||||
|
||||
if (follow.state !== 'accepted') {
|
||||
follow.set('state', 'accepted')
|
||||
follow.state = 'accepted'
|
||||
await follow.save()
|
||||
|
||||
await addFetchOutboxJob(targetActor)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue