projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e556583
)
Fix comment deletion with mastodon
author
Chocobozzz
<me@florianbigard.com>
Mon, 24 Sep 2018 14:24:42 +0000
(16:24 +0200)
committer
Chocobozzz
<me@florianbigard.com>
Mon, 24 Sep 2018 14:24:42 +0000
(16:24 +0200)
Will only act with new comments
server/lib/activitypub/video-comments.ts
patch
|
blob
|
history
diff --git
a/server/lib/activitypub/video-comments.ts
b/server/lib/activitypub/video-comments.ts
index 4ca8bf6595796431dd1396dbd46d712f740ddc3e..192add5e42f863d327f1cc0b72c2de5144c8ad46 100644
(file)
--- 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,