diff options
author | Chocobozzz <me@florianbigard.com> | 2019-08-02 10:53:36 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-08-02 10:53:36 +0200 |
commit | 1198edf4bb06ce5f1668b97cf9ca8fb483fe3f41 (patch) | |
tree | 0378e6f2ec9912a80838f373ec2d09c3b805b7b6 /server/lib/plugins | |
parent | 44b88f180bc9ec692885e7db08757a43b3e2df79 (diff) | |
download | PeerTube-1198edf4bb06ce5f1668b97cf9ca8fb483fe3f41.tar.gz PeerTube-1198edf4bb06ce5f1668b97cf9ca8fb483fe3f41.tar.zst PeerTube-1198edf4bb06ce5f1668b97cf9ca8fb483fe3f41.zip |
Fix user notifications on new follow
Diffstat (limited to 'server/lib/plugins')
-rw-r--r-- | server/lib/plugins/plugin-manager.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/server/lib/plugins/plugin-manager.ts b/server/lib/plugins/plugin-manager.ts index c9beae268..444162a03 100644 --- a/server/lib/plugins/plugin-manager.ts +++ b/server/lib/plugins/plugin-manager.ts | |||
@@ -408,9 +408,7 @@ export class PluginManager implements ServerHook { | |||
408 | private async regeneratePluginGlobalCSS () { | 408 | private async regeneratePluginGlobalCSS () { |
409 | await this.resetCSSGlobalFile() | 409 | await this.resetCSSGlobalFile() |
410 | 410 | ||
411 | for (const key of Object.keys(this.getRegisteredPlugins())) { | 411 | for (const plugin of this.getRegisteredPlugins()) { |
412 | const plugin = this.registeredPlugins[key] | ||
413 | |||
414 | await this.addCSSToGlobalFile(plugin.path, plugin.css) | 412 | await this.addCSSToGlobalFile(plugin.path, plugin.css) |
415 | } | 413 | } |
416 | } | 414 | } |