mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 18:29:27 +02:00
Fetch remote AP objects if only id is specified
This commit is contained in:
parent
f987425bd1
commit
cefe22cf7c
19 changed files with 760 additions and 661 deletions
|
@ -63,6 +63,7 @@ async function buildActivities (actor: MActorLight, start: number, count: number
|
|||
|
||||
activities.push(announceActivity)
|
||||
} else {
|
||||
// FIXME: only use the video URL to reduce load. Breaks compat with PeerTube < 6.0.0
|
||||
const videoObject = await video.toActivityPubObject()
|
||||
const createActivity = buildCreateActivity(video.url, byActor, videoObject, createActivityAudience)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue