summaryrefslogtreecommitdiff
path: root/sleekxmpp/stanza
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2010-12-07 23:04:04 -0500
committerLance Stout <lancestout@gmail.com>2010-12-07 23:04:04 -0500
commit19bd1e0485936c8695868b22e619df8b199d73b5 (patch)
treee417290eb91afb2e513e22a0ae5d0b5fdce72155 /sleekxmpp/stanza
parent5f2fc67c40f0cd73bee7b2cf3bc3a73d83832a50 (diff)
downloadslixmpp-19bd1e0485936c8695868b22e619df8b199d73b5.tar.gz
slixmpp-19bd1e0485936c8695868b22e619df8b199d73b5.tar.bz2
slixmpp-19bd1e0485936c8695868b22e619df8b199d73b5.tar.xz
slixmpp-19bd1e0485936c8695868b22e619df8b199d73b5.zip
Actually make the Iq callbacks work for real.
Diffstat (limited to 'sleekxmpp/stanza')
-rw-r--r--sleekxmpp/stanza/iq.py1
1 files changed, 1 insertions, 0 deletions
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']))