From 47d0b3ee611d1ae85c92149521619ebdf5f5cc25 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 24 Sep 2018 16:24:42 +0200 Subject: Fix comment deletion with mastodon Will only act with new comments --- server/lib/activitypub/video-comments.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/lib') diff --git a/server/lib/activitypub/video-comments.ts b/server/lib/activitypub/video-comments.ts index 4ca8bf659..192add5e4 100644 --- a/server/lib/activitypub/video-comments.ts +++ b/server/lib/activitypub/video-comments.ts @@ -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, -- cgit v1.2.3