Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Add ability for plugins to alter video jsonld

Chocobozzz230af3e7db55
diff --git a/client/src/app/core/plugins/hooks.service.ts b/client/src/app/core/plugins/hooks.service.ts
index 978316ec2a..d9fef83897 100644
--- a/client/src/app/core/plugins/hooks.service.ts
+++ b/client/src/app/core/plugins/hooks.service.ts
@@ -48,15 +48,6 @@ export class HooksService {
return this.pluginService.runHook(hookResultName, result, params)
}
- async wrapFunResult <P, R, H extends ClientFilterHookName>
- (fun: RawFunction<P, R>, params: P, scope: PluginClientScope, hookResultName: H) {
- await this.pluginService.ensurePluginsAreLoaded(scope)
-
- const result = fun(params)
-
- return this.pluginService.runHook(hookResultName, result, params)
- }
-
runAction<T, U extends ClientActionHookName> (hookName: U, scope: PluginClientScope, params?: T) {
// Use setTimeout to give priority to Angular change detector
setTimeout(() => {