From b2a70e3ca2611a8831b6e490cc25dbf3066562c0 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 23 Sep 2022 11:38:18 +0200 Subject: Support refusing remote comments --- shared/models/plugins/server/server-hook.model.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'shared/models/plugins') diff --git a/shared/models/plugins/server/server-hook.model.ts b/shared/models/plugins/server/server-hook.model.ts index 5bf01c4b4..f11d2050b 100644 --- a/shared/models/plugins/server/server-hook.model.ts +++ b/shared/models/plugins/server/server-hook.model.ts @@ -103,7 +103,9 @@ export const serverFilterHookObject = { 'filter:job-queue.process.result': true, 'filter:transcoding.manual.resolutions-to-transcode.result': true, - 'filter:transcoding.auto.resolutions-to-transcode.result': true + 'filter:transcoding.auto.resolutions-to-transcode.result': true, + + 'filter:activity-pub.remote-video-comment.create.accept.result': true } export type ServerFilterHookName = keyof typeof serverFilterHookObject -- cgit v1.2.3