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

Plugins: missing argument for filter:activity-pub.activity.context.build.result #6375

Open
JohnXLivingston opened this issue May 5, 2024 · 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

The filter:activity-pub.activity.context.build.result hook is called for all kind of ActivityPub objects (video, channels, ...).

But there is no argument to tell the plugin on which context we are building the AP context.

Describe the solution you would like

This hook should receive an additional parameter, telling on which context we are.

Or, another solution: add a filter:activity-pub.video.context.build.result (as it is related to filter:activity-pub.video.json-ld.build.result which is only called for video objects).

@Chocobozzz Chocobozzz added Type: Feature Request ✨ Component: PeerTube Plugin 📦 Features that can be developed in a plugin, but require PeerTube plugin API development labels May 6, 2024
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 ✨
Projects
None yet
Development

No branches or pull requests

2 participants