aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/activitypub/client.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/controllers/activitypub/client.ts')
-rw-r--r--server/controllers/activitypub/client.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/controllers/activitypub/client.ts b/server/controllers/activitypub/client.ts
index e0ab3188b..717473912 100644
--- a/server/controllers/activitypub/client.ts
+++ b/server/controllers/activitypub/client.ts
@@ -114,5 +114,6 @@ async function videoChannelController (req: express.Request, res: express.Respon
114async function videoCommentController (req: express.Request, res: express.Response, next: express.NextFunction) { 114async function videoCommentController (req: express.Request, res: express.Response, next: express.NextFunction) {
115 const videoComment: VideoCommentModel = res.locals.videoComment 115 const videoComment: VideoCommentModel = res.locals.videoComment
116 116
117 return res.json(videoComment.toActivityPubObject()) 117 const threadParentComments = await VideoCommentModel.listThreadParentComments(videoComment, undefined)
118 return res.json(videoComment.toActivityPubObject(threadParentComments))
118} 119}