From 19bd1e0485936c8695868b22e619df8b199d73b5 Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Tue, 7 Dec 2010 23:04:04 -0500 Subject: [PATCH] Actually make the Iq callbacks work for real. --- sleekxmpp/stanza/iq.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sleekxmpp/stanza/iq.py b/sleekxmpp/stanza/iq.py index c987756..906e664 100644 --- a/sleekxmpp/stanza/iq.py +++ b/sleekxmpp/stanza/iq.py @@ -190,6 +190,7 @@ class Iq(RootStanza): callback, once=True) self.stream.register_handler(handler) + StanzaBase.send(self) return None elif block and self['type'] in ('get', 'set'): waitfor = Waiter('IqWait_%s' % self['id'], MatcherId(self['id']))