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

PluginManager: Register plugin handlers when enabling account

parent 02f2c6fc
......@@ -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