ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix: unregistring a plugin did not remove properly his hooks.
John Livingston98da1a7b4a1f
diff --git a/server/lib/plugins/plugin-manager.ts b/server/lib/plugins/plugin-manager.tsindex 8127992b59..7ebdabd345 100644--- a/server/lib/plugins/plugin-manager.ts+++ b/server/lib/plugins/plugin-manager.ts@@ -194,7 +194,7 @@ export class PluginManager implements ServerHook {// Remove hooks of this pluginfor (const key of Object.keys(this.hooks)) {- this.hooks[key] = this.hooks[key].filter(h => h.pluginName !== npmName)+ this.hooks[key] = this.hooks[key].filter(h => h.npmName !== npmName)}this.reinitVideoConstants(plugin.npmName)