diff --git a/sleekxmpp/api.py b/sleekxmpp/api.py index 82ff8ae7..25bfe0e6 100644 --- a/sleekxmpp/api.py +++ b/sleekxmpp/api.py @@ -116,6 +116,8 @@ class APIRegistry(object): else: jid = jid.full + jid = JID(jid) + handler = self._handlers[ctype][op]['node'].get((jid, node), None) if handler is None: handler = self._handlers[ctype][op]['jid'].get(jid, None)