Commit 626de12f authored by Philipp Hörist's avatar Philipp Hörist
Browse files

PluginManager: Register plugin handlers when enabling account

parent 02f2c6fc
Pipeline #5938 passed with stages
in 4 minutes and 20 seconds
...@@ -647,6 +647,9 @@ def register_modules_for_account(self, con): ...@@ -647,6 +647,9 @@ def register_modules_for_account(self, con):
continue continue
modules.register_single_module(con, instance, name) modules.register_single_module(con, instance, name)
for handler in instance.handlers:
def _plugin_is_active_in_global_config(self, plugin): def _plugin_is_active_in_global_config(self, plugin):
return app.config.get_per('plugins', plugin.short_name, 'active') return app.config.get_per('plugins', plugin.short_name, 'active')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment