Commit 735e72c9 authored by Philipp Hörist's avatar Philipp Hörist

Plugins: Unregister StanzaHandler correctly

parent 73f3e01b
Pipeline #2895 passed with stages
in 3 minutes and 58 seconds
......@@ -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')
......
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