aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/plugins/server/server-hook.model.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-09-23 11:38:18 +0200
committerChocobozzz <me@florianbigard.com>2022-09-23 11:38:18 +0200
commitb2a70e3ca2611a8831b6e490cc25dbf3066562c0 (patch)
treeb07d2effb206ad3fd1d39002b69c5cc20d862b5b /shared/models/plugins/server/server-hook.model.ts
parentb569b2c607bec0e671228131a5b1fe6ddf9717a0 (diff)
downloadPeerTube-b2a70e3ca2611a8831b6e490cc25dbf3066562c0.tar.gz
PeerTube-b2a70e3ca2611a8831b6e490cc25dbf3066562c0.tar.zst
PeerTube-b2a70e3ca2611a8831b6e490cc25dbf3066562c0.zip
Support refusing remote comments
Diffstat (limited to 'shared/models/plugins/server/server-hook.model.ts')
-rw-r--r--shared/models/plugins/server/server-hook.model.ts4
1 files changed, 3 insertions, 1 deletions
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 = {
103 'filter:job-queue.process.result': true, 103 'filter:job-queue.process.result': true,
104 104
105 'filter:transcoding.manual.resolutions-to-transcode.result': true, 105 'filter:transcoding.manual.resolutions-to-transcode.result': true,
106 'filter:transcoding.auto.resolutions-to-transcode.result': true 106 'filter:transcoding.auto.resolutions-to-transcode.result': true,
107
108 'filter:activity-pub.remote-video-comment.create.accept.result': true
107} 109}
108 110
109export type ServerFilterHookName = keyof typeof serverFilterHookObject 111export type ServerFilterHookName = keyof typeof serverFilterHookObject