Skip to content

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

Fix federation with a comment reply

Chocobozzz8578e3b5e630
diff --git a/server/lib/activitypub/video-comments.ts b/server/lib/activitypub/video-comments.ts
index 192add5e42..c8c17f4c41 100644
--- a/server/lib/activitypub/video-comments.ts
+++ b/server/lib/activitypub/video-comments.ts
@@ -136,7 +136,7 @@ async function resolveThread (url: string, comments: VideoCommentModel[] = []) {
const actor = await getOrCreateActorAndServerAndModel(actorUrl)
const comment = new VideoCommentModel({
- url: body.url,
+ url: body.id,
text: body.content,
videoId: null,
accountId: actor.Account.id,