fix Gajim version comparison for plugins. Fixes #8389
This commit is contained in:
parent
f3d19383f9
commit
9b294b511f
|
@ -454,7 +454,7 @@ class PluginManager(metaclass=Singleton):
|
|||
min_v = conf.get('info', 'min_gajim_version', fallback=None)
|
||||
max_v = conf.get('info', 'max_gajim_version', fallback=None)
|
||||
|
||||
gajim_v = gajim.config.get('version')
|
||||
gajim_v = gajim.config.get('version').split('-', 1)[0]
|
||||
gajim_v_cmp = parse_version(gajim_v)
|
||||
|
||||
if min_v and gajim_v_cmp < parse_version(min_v):
|
||||
|
|
Loading…
Reference in New Issue