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:
parent
594d0c6a7c
commit
5b9c965d5a
19 changed files with 196 additions and 55 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue