From: Chocobozzz Date: Thu, 27 Sep 2018 09:05:50 +0000 (+0200) Subject: Fix federation with a comment reply X-Git-Tag: v1.0.0-beta.16~34 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8578e3b5e630f0cfe1dfbf13a7be1e6b89554077;p=oweals%2Fpeertube.git Fix federation with a comment reply --- diff --git a/server/lib/activitypub/video-comments.ts b/server/lib/activitypub/video-comments.ts index 192add5e4..c8c17f4c4 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,