Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New plugin hook: action:activity-pub.remote-video.deleted #5766

Open
JohnXLivingston opened this issue Apr 20, 2023 · 0 comments
Open

New plugin hook: action:activity-pub.remote-video.deleted #5766

JohnXLivingston opened this issue Apr 20, 2023 · 0 comments
Labels
Component: PeerTube Plugin 📦 Features that can be developed in a plugin, but require PeerTube plugin API development Type: Feature Request ✨

Comments

@JohnXLivingston
Copy link
Contributor

Describe the problem to be solved

Plugins currently have two hooks that are triggered when a remote video is created or updated:

  • action:activity-pub.remote-video.created
  • action:activity-pub.remote-video.updated

There is no action hook that get called when a remote video is deleted.

Note: or maybe there is a soft delete mechanism that i missed, and action:activity-pub.remote-video.updated is called? (i did not find the code that updates remote ActivityPub object on deletion).

Describe the solution you would like

New action:activity-pub.remote-video.deleted hook.

@Chocobozzz Chocobozzz added Type: Feature Request ✨ Component: PeerTube Plugin 📦 Features that can be developed in a plugin, but require PeerTube plugin API development labels Apr 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: PeerTube Plugin 📦 Features that can be developed in a plugin, but require PeerTube plugin API development Type: Feature Request ✨
2 participants