Fix user notifications on new follow

This commit is contained in:
Chocobozzz
2019-08-02 10:53:36 +02:00
parent 44b88f180b
commit 1198edf4bb
17 changed files with 82 additions and 36 deletions

View File

@@ -408,9 +408,7 @@ export class PluginManager implements ServerHook {
private async regeneratePluginGlobalCSS () {
await this.resetCSSGlobalFile()
for (const key of Object.keys(this.getRegisteredPlugins())) {
const plugin = this.registeredPlugins[key]
for (const plugin of this.getRegisteredPlugins()) {
await this.addCSSToGlobalFile(plugin.path, plugin.css)
}
}