import * as Bluebird from 'bluebird'
import {
MComment,
+ MCommentAP,
MCommentFormattable,
MCommentId,
MCommentOwner,
} as VideoComment
}
- toActivityPubObject (threadParentComments: MCommentOwner[]): VideoCommentObject {
+ toActivityPubObject (this: MCommentAP, threadParentComments: MCommentOwner[]): VideoCommentObject {
let inReplyTo: string
// New thread, so in AS we reply to the video
if (this.inReplyToCommentId === null) {