aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/video/video-comment.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/models/video/video-comment.ts')
-rw-r--r--server/models/video/video-comment.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/models/video/video-comment.ts b/server/models/video/video-comment.ts
index 84d71c553..2e4220434 100644
--- a/server/models/video/video-comment.ts
+++ b/server/models/video/video-comment.ts
@@ -17,6 +17,7 @@ import { FindOptions, Op, Order, ScopeOptions, Sequelize, Transaction } from 'se
17import * as Bluebird from 'bluebird' 17import * as Bluebird from 'bluebird'
18import { 18import {
19 MComment, 19 MComment,
20 MCommentAP,
20 MCommentFormattable, 21 MCommentFormattable,
21 MCommentId, 22 MCommentId,
22 MCommentOwner, 23 MCommentOwner,
@@ -491,7 +492,7 @@ export class VideoCommentModel extends Model<VideoCommentModel> {
491 } as VideoComment 492 } as VideoComment
492 } 493 }
493 494
494 toActivityPubObject (threadParentComments: MCommentOwner[]): VideoCommentObject { 495 toActivityPubObject (this: MCommentAP, threadParentComments: MCommentOwner[]): VideoCommentObject {
495 let inReplyTo: string 496 let inReplyTo: string
496 // New thread, so in AS we reply to the video 497 // New thread, so in AS we reply to the video
497 if (this.inReplyToCommentId === null) { 498 if (this.inReplyToCommentId === null) {