From 735e72c965baff626fd732bfdc39a3c04d80f51c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Mon, 31 Dec 2018 01:58:03 +0100 Subject: [PATCH] Plugins: Unregister StanzaHandler correctly --- gajim/plugins/pluginmanager.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gajim/plugins/pluginmanager.py b/gajim/plugins/pluginmanager.py index 87a25b45e..506371b2a 100644 --- a/gajim/plugins/pluginmanager.py +++ b/gajim/plugins/pluginmanager.py @@ -431,6 +431,8 @@ class PluginManager(metaclass=Singleton): # So just unregister the plugin handlers if con.handlers_registered: for handler in instance.handlers: + if len(handler) > 4: + handler = handler[:4] con.connection.UnregisterHandler(*handler) @log_calls('PluginManager')