mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 02:09:37 +02:00
Add setting helper to client plugins
This commit is contained in:
parent
a1758df8a3
commit
23bdacf8ec
8 changed files with 74 additions and 35 deletions
|
@ -151,6 +151,7 @@ export class PluginManager implements ServerHook {
|
|||
}
|
||||
|
||||
delete this.registeredPlugins[plugin.npmName]
|
||||
delete this.settings[plugin.npmName]
|
||||
|
||||
if (plugin.type === PluginType.PLUGIN) {
|
||||
await plugin.unregister()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue