]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/models/plugins/server/server-hook.model.ts
Merge branch 'release/4.3.0' into develop
[github/Chocobozzz/PeerTube.git] / shared / models / plugins / server / server-hook.model.ts
index 5f3a5be10dd29614b5ac0317005a60824fbfd594..f11d2050b0699abfa69ccac4cfa64899a495f88d 100644 (file)
@@ -102,8 +102,10 @@ export const serverFilterHookObject = {
   'filter:job-queue.process.params': true,
   'filter:job-queue.process.result': true,
 
-  'filter:transcoding.manual.lower-resolutions-to-transcode.result': true,
-  'filter:transcoding.auto.lower-resolutions-to-transcode.result': true
+  'filter:transcoding.manual.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
@@ -112,6 +114,9 @@ export const serverActionHookObject = {
   // Fired when the application has been loaded and is listening HTTP requests
   'action:application.listening': true,
 
+  // Fired when a new notification is created
+  'action:notifier.notification.created': true,
+
   // API actions hooks give access to the original express `req` and `res` parameters
 
   // Fired when a local video is updated