Commit 11d8c140 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

[plugin_installer] Port to new Settings API

parent 2c83bd47
......@@ -101,7 +101,11 @@ class PluginInfo:
# PluginManager. Look in the Gajim config if the plugin is
# known and active, if yes load the manifest from the Plugin
# dir and parse the version
active = app.config.get_per('plugins', self.short_name, 'active')
plugin_settings = app.settings.get_plugins()
if self.short_name not in plugin_settings:
return None
active = app.settings.get_plugin_setting(self.short_name, 'active')
if not active:
return None
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