Commit ba85a309 authored by Philipp Hörist's avatar Philipp Hörist

Dispatcher: Fix unregister_handler()

parent 3b8fd415
Pipeline #5564 passed with stages
in 38 seconds
......@@ -303,7 +303,7 @@ class StanzaDispatcher(Observable):
for handler_dict in self._handlers[xmlns][handler.name][specific]:
if handler_dict['func'] != handler.callback:
return
continue
try:
self._handlers[xmlns][handler.name][specific].remove(
......
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