aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/activitypub
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib/activitypub')
-rw-r--r--server/lib/activitypub/process/process-create.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/activitypub/process/process-create.ts b/server/lib/activitypub/process/process-create.ts
index 32be37e2d..e65b257c0 100644
--- a/server/lib/activitypub/process/process-create.ts
+++ b/server/lib/activitypub/process/process-create.ts
@@ -283,7 +283,7 @@ function createVideoComment (byActor: ActorModel, activity: ActivityCreate) {
283 const inReplyToComment = await VideoCommentModel.loadByUrl(comment.inReplyTo, t) 283 const inReplyToComment = await VideoCommentModel.loadByUrl(comment.inReplyTo, t)
284 if (!inReplyToComment) throw new Error('Unknown replied comment ' + comment.inReplyTo) 284 if (!inReplyToComment) throw new Error('Unknown replied comment ' + comment.inReplyTo)
285 285
286 video = await VideoModel.load(inReplyToComment.videoId) 286 video = await VideoModel.loadAndPopulateAccount(inReplyToComment.videoId)
287 287
288 const originCommentId = inReplyToComment.originCommentId || inReplyToComment.id 288 const originCommentId = inReplyToComment.originCommentId || inReplyToComment.id
289 objectToCreate = { 289 objectToCreate = {