Commit bfb023d3 authored by Philipp Hörist's avatar Philipp Hörist

PluginManager: Register plugin handlers when enabling account

parent 515f0818
Pipeline #5937 passed with stages
in 4 minutes and 7 seconds
......@@ -647,6 +647,9 @@ class PluginManager(metaclass=Singleton):
continue
modules.register_single_module(con, instance, name)
for handler in instance.handlers:
con.connection.register_handler(handler)
def _plugin_is_active_in_global_config(self, plugin):
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