mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 10:49:28 +02:00
Don't rehost announced video activities
This commit is contained in:
parent
7859b5800c
commit
4ba3b8ea1b
9 changed files with 124 additions and 53 deletions
|
@ -100,7 +100,7 @@ async function videoController (req: express.Request, res: express.Response, nex
|
|||
|
||||
async function videoAnnounceController (req: express.Request, res: express.Response, next: express.NextFunction) {
|
||||
const share = res.locals.videoShare as VideoShareModel
|
||||
const object = await buildVideoAnnounceToFollowers(share.Actor, res.locals.video, undefined)
|
||||
const object = await buildVideoAnnounceToFollowers(share.Actor, share, res.locals.video, undefined)
|
||||
|
||||
return res.json(activityPubContextify(object))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue