1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 02:39:33 +02:00

Add ability to forbid followers

This commit is contained in:
Chocobozzz 2019-04-08 14:04:57 +02:00
parent 594d0c6a7c
commit 5b9c965d5a
No known key found for this signature in database
GPG key ID: 583A612D890159BE
19 changed files with 196 additions and 55 deletions

View file

@ -31,7 +31,7 @@ async function sendUndoFollow (actorFollow: ActorFollowModel, t: Transaction) {
logger.info('Creating job to send an unfollow request to %s.', following.url)
const followUrl = getActorFollowActivityPubUrl(actorFollow)
const followUrl = getActorFollowActivityPubUrl(me, following)
const undoUrl = getUndoActivityPubUrl(followUrl)
const followActivity = buildFollowActivity(followUrl, me, following)