mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-11-24 03:00:15 +00:00
Actually make the Iq callbacks work for real.
This commit is contained in:
parent
5f2fc67c40
commit
19bd1e0485
1 changed files with 1 additions and 0 deletions
|
@ -190,6 +190,7 @@ class Iq(RootStanza):
|
||||||
callback,
|
callback,
|
||||||
once=True)
|
once=True)
|
||||||
self.stream.register_handler(handler)
|
self.stream.register_handler(handler)
|
||||||
|
StanzaBase.send(self)
|
||||||
return None
|
return None
|
||||||
elif block and self['type'] in ('get', 'set'):
|
elif block and self['type'] in ('get', 'set'):
|
||||||
waitfor = Waiter('IqWait_%s' % self['id'], MatcherId(self['id']))
|
waitfor = Waiter('IqWait_%s' % self['id'], MatcherId(self['id']))
|
||||||
|
|
Loading…
Reference in a new issue