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

Add video caption created and deleted hooks

This commit is contained in:
lutangar 2021-12-17 16:41:01 +01:00 committed by Chocobozzz
parent 293074ae79
commit 5e3d29ab21
4 changed files with 27 additions and 0 deletions

View file

@ -115,6 +115,11 @@ export const serverActionHookObject = {
// Fired when a comment (thread or reply) is deleted
'action:api.video-comment.deleted': true,
// Fired when a caption is created
'action:api.video-caption.created': true,
// Fired when a caption is deleted
'action:api.video-caption.deleted': true,
// Fired when a user is blocked (banned)
'action:api.user.blocked': true,
// Fired when a user is unblocked (unbanned)