]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/controllers/activitypub/client.ts
Reduce AP context size on specific activities
[github/Chocobozzz/PeerTube.git] / server / controllers / activitypub / client.ts
index 39f6d7231a90f89151026da46a3b24e28db1e10b..2812bfe1e8e9b194145330cc6080abff6db831da 100644 (file)
@@ -234,7 +234,7 @@ async function videoAnnounceController (req: express.Request, res: express.Respo
 
   const { activity } = await buildAnnounceWithVideoAudience(share.Actor, share, res.locals.videoAll, undefined)
 
-  return activityPubResponse(activityPubContextify(activity), res)
+  return activityPubResponse(activityPubContextify(activity, 'Announce'), res)
 }
 
 async function videoAnnouncesController (req: express.Request, res: express.Response) {