]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix federation with a comment reply
authorChocobozzz <me@florianbigard.com>
Thu, 27 Sep 2018 09:05:50 +0000 (11:05 +0200)
committerChocobozzz <me@florianbigard.com>
Thu, 27 Sep 2018 09:05:50 +0000 (11:05 +0200)
server/lib/activitypub/video-comments.ts

index 192add5e42f863d327f1cc0b72c2de5144c8ad46..c8c17f4c41cfb88ae056d8b58b39d9ddf572f68d 100644 (file)
@@ -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,