+ let video: MVideoAccountLightBlacklistAllFiles
+ let created: boolean
+ let comment: MCommentOwnerVideo
+ try {
+ const resolveThreadResult = await resolveThread({ url: commentObject.id, isVideo: false })
+
+ video = resolveThreadResult.video
+ created = resolveThreadResult.commentCreated
+ comment = resolveThreadResult.comment
+ } catch (err) {
+ logger.debug(
+ 'Cannot process video comment because we could not resolve thread %s. Maybe it was not a video thread, so skip it.',
+ commentObject.inReplyTo,
+ { err }
+ )
+ return
+ }