Skip to content
Snippets Groups Projects
Commit bfb023d3 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

PluginManager: Register plugin handlers when enabling account

parent 515f0818
No related branches found
No related tags found
No related merge requests found
......@@ -647,6 +647,9 @@ def register_modules_for_account(self, con):
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')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment