]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/lib/activitypub/video-comments.ts
Fix comment deletion with mastodon
[github/Chocobozzz/PeerTube.git] / server / lib / activitypub / video-comments.ts
index 4ca8bf6595796431dd1396dbd46d712f740ddc3e..192add5e42f863d327f1cc0b72c2de5144c8ad46 100644 (file)
@@ -27,7 +27,7 @@ async function videoCommentActivityObjectToDBAttributes (video: VideoModel, acto
   }
 
   return {
-    url: comment.url,
+    url: comment.id,
     text: comment.content,
     videoId: video.id,
     accountId: actor.Account.id,