diff options
author | Chocobozzz <me@florianbigard.com> | 2022-09-23 11:38:18 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-09-23 11:38:18 +0200 |
commit | b2a70e3ca2611a8831b6e490cc25dbf3066562c0 (patch) | |
tree | b07d2effb206ad3fd1d39002b69c5cc20d862b5b /shared/models | |
parent | b569b2c607bec0e671228131a5b1fe6ddf9717a0 (diff) | |
download | PeerTube-b2a70e3ca2611a8831b6e490cc25dbf3066562c0.tar.gz PeerTube-b2a70e3ca2611a8831b6e490cc25dbf3066562c0.tar.zst PeerTube-b2a70e3ca2611a8831b6e490cc25dbf3066562c0.zip |
Support refusing remote comments
Diffstat (limited to 'shared/models')
-rw-r--r-- | shared/models/plugins/server/server-hook.model.ts | 4 |
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 | ||
109 | export type ServerFilterHookName = keyof typeof serverFilterHookObject | 111 | export type ServerFilterHookName = keyof typeof serverFilterHookObject |