From 19bd1e0485936c8695868b22e619df8b199d73b5 Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Tue, 7 Dec 2010 23:04:04 -0500 Subject: Actually make the Iq callbacks work for real. --- sleekxmpp/stanza/iq.py | 1 + 1 file changed, 1 insertion(+) (limited to 'sleekxmpp') diff --git a/sleekxmpp/stanza/iq.py b/sleekxmpp/stanza/iq.py index c9877563..906e6648 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'])) -- cgit v1.2.3