Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix creating remote tracker URLs on video creation

Chocobozzz3f8454ce6360
diff --git a/server/core/lib/activitypub/videos/shared/creator.ts b/server/core/lib/activitypub/videos/shared/creator.ts
index 79de647a6b..d387ff01e8 100644
--- a/server/core/lib/activitypub/videos/shared/creator.ts
+++ b/server/core/lib/activitypub/videos/shared/creator.ts
@@ -22,6 +22,7 @@ export class APVideoCreator extends APVideoAbstractBuilder {
const channelActor = await this.getOrCreateVideoChannelFromVideoObject()
const channel = channelActor.VideoChannel
+ channel.Actor = channelActor
const videoData = getVideoAttributesFromObject(channel, this.videoObject, this.videoObject.to)
const video = VideoModel.build({ ...videoData, likes: 0, dislikes: 0 }) as MVideoThumbnail