Actually make the Iq callbacks work for real.

This commit is contained in:
Lance Stout 2010-12-07 23:04:04 -05:00
parent 5f2fc67c40
commit 19bd1e0485

View file

@ -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']))