aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/plugins
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-08-02 10:53:36 +0200
committerChocobozzz <me@florianbigard.com>2019-08-02 10:53:36 +0200
commit1198edf4bb06ce5f1668b97cf9ca8fb483fe3f41 (patch)
tree0378e6f2ec9912a80838f373ec2d09c3b805b7b6 /server/lib/plugins
parent44b88f180bc9ec692885e7db08757a43b3e2df79 (diff)
downloadPeerTube-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.ts4
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 }