Commit aa1d1a89 authored by Emmanuel Gil Peyrot's avatar Emmanuel Gil Peyrot
Browse files

Dispatcher: Fix stanza handler registration

parent 5daadced
Pipeline #5445 failed with stages
in 7 seconds
......@@ -183,7 +183,9 @@ class StanzaDispatcher(Observable):
for instance in self._modules.values():
for handler in instance.handlers:
self.register_handler(*handler)
self.register_handler(handler.name, handler.callback,
handler.typ, handler.ns, handler.xmlns,
handler.priority)
def reset_parser(self):
if self._parser is not None:
......
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