1
0
Fork 0
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:
Chocobozzz 2018-01-26 15:49:57 +01:00
parent 7859b5800c
commit 4ba3b8ea1b
No known key found for this signature in database
GPG key ID: 583A612D890159BE
9 changed files with 124 additions and 53 deletions

View file

@ -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))
}