}
})
+ // ---------------------------------------------------------------------------
+
registerHook({
target: 'filter:api.video-thread.create.accept.result',
handler: ({ accepted }, { commentBody }) => checkCommentBadWord(accepted, commentBody)
handler: ({ accepted }, { commentBody }) => checkCommentBadWord(accepted, commentBody)
})
+ registerHook({
+ target: 'filter:activity-pub.remote-video-comment.create.accept.result',
+ handler: ({ accepted }, { comment }) => checkCommentBadWord(accepted, comment)
+ })
+
+ // ---------------------------------------------------------------------------
+
registerHook({
target: 'filter:api.video-threads.list.params',
handler: obj => addToCount(obj)