Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/python-nbxmpp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlovetox <philipp@hoerist.com>2020-05-03 20:26:06 +0300
committerlovetox <philipp@hoerist.com>2020-05-03 20:26:06 +0300
commitba85a309e21e6a19e5949e8adceb9e5496b85ce4 (patch)
tree5f9e5f99b980d2027d45f2a98a1daef24bb81659
parent3b8fd4157ed98750e32dbcfa0b1eedc69ae6724c (diff)
Dispatcher: Fix unregister_handler()
-rw-r--r--nbxmpp/dispatcher.py2
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(