1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-03 17:59:37 +02:00

Add notification plugin hook

This commit is contained in:
Chocobozzz 2022-08-03 11:33:43 +02:00
parent 0260dc8aca
commit 785f1897a4
No known key found for this signature in database
GPG key ID: 583A612D890159BE
23 changed files with 61 additions and 43 deletions

View file

@ -112,6 +112,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