aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-09-27 11:05:50 +0200
committerChocobozzz <me@florianbigard.com>2018-09-27 11:05:50 +0200
commit8578e3b5e630f0cfe1dfbf13a7be1e6b89554077 (patch)
tree528c5fcc7f327d2257271076eafc67381dd10c82 /server/lib
parent7cd26d0a99d72b97e4f87c89f9ac5f8408c5cf4d (diff)
downloadPeerTube-8578e3b5e630f0cfe1dfbf13a7be1e6b89554077.tar.gz
PeerTube-8578e3b5e630f0cfe1dfbf13a7be1e6b89554077.tar.zst
PeerTube-8578e3b5e630f0cfe1dfbf13a7be1e6b89554077.zip
Fix federation with a comment reply
Diffstat (limited to 'server/lib')
-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 192add5e4..c8c17f4c4 100644
--- a/server/lib/activitypub/video-comments.ts
+++ b/server/lib/activitypub/video-comments.ts
@@ -136,7 +136,7 @@ async function resolveThread (url: string, comments: VideoCommentModel[] = []) {
136 136
137 const actor = await getOrCreateActorAndServerAndModel(actorUrl) 137 const actor = await getOrCreateActorAndServerAndModel(actorUrl)
138 const comment = new VideoCommentModel({ 138 const comment = new VideoCommentModel({
139 url: body.url, 139 url: body.id,
140 text: body.content, 140 text: body.content,
141 videoId: null, 141 videoId: null,
142 accountId: actor.Account.id, 142 accountId: actor.Account.id,