diff options
author | lovetox <philipp@hoerist.com> | 2020-05-03 20:26:06 +0300 |
---|---|---|
committer | lovetox <philipp@hoerist.com> | 2020-05-03 20:26:06 +0300 |
commit | ba85a309e21e6a19e5949e8adceb9e5496b85ce4 (patch) | |
tree | 5f9e5f99b980d2027d45f2a98a1daef24bb81659 | |
parent | 3b8fd4157ed98750e32dbcfa0b1eedc69ae6724c (diff) |
Dispatcher: Fix unregister_handler()
-rw-r--r-- | nbxmpp/dispatcher.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nbxmpp/dispatcher.py b/nbxmpp/dispatcher.py index f3f412c..84ee7e8 100644 --- a/nbxmpp/dispatcher.py +++ b/nbxmpp/dispatcher.py @@ -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( |