aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/activitypub
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-09-24 16:24:42 +0200
committerChocobozzz <me@florianbigard.com>2018-09-24 16:24:42 +0200
commit47d0b3ee611d1ae85c92149521619ebdf5f5cc25 (patch)
tree1d38946b160e76b15f6a406be9b710400fb3c939 /server/lib/activitypub
parente5565833f62b97f62ea75eba5b479963ae78b873 (diff)
downloadPeerTube-47d0b3ee611d1ae85c92149521619ebdf5f5cc25.tar.gz
PeerTube-47d0b3ee611d1ae85c92149521619ebdf5f5cc25.tar.zst
PeerTube-47d0b3ee611d1ae85c92149521619ebdf5f5cc25.zip
Fix comment deletion with mastodon
Will only act with new comments
Diffstat (limited to 'server/lib/activitypub')
-rw-r--r--server/lib/activitypub/video-comments.ts2
1 files changed, 1 insertions, 1 deletions
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
27 } 27 }
28 28
29 return { 29 return {
30 url: comment.url, 30 url: comment.id,
31 text: comment.content, 31 text: comment.content,
32 videoId: video.id, 32 videoId: video.id,
33 accountId: actor.Account.id, 33 accountId: actor.Account.id,