Plugins: missing argument for filter:activity-pub.activity.context.build.result #6375
Labels
Component: PeerTube Plugin 📦
Features that can be developed in a plugin, but require PeerTube plugin API development
Type: Feature Request ✨
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 tofilter:activity-pub.video.json-ld.build.result
which is only called for video objects).The text was updated successfully, but these errors were encountered: