Return a Future on clientxmpp.get_roster()
This commit is contained in:
parent
59dad12820
commit
5bf69dca76
@ -255,7 +255,7 @@ class ClientXMPP(BaseXMPP):
|
||||
orig_cb(resp)
|
||||
callback = wrapped
|
||||
|
||||
iq.send(callback, timeout, timeout_callback)
|
||||
return iq.send(callback, timeout, timeout_callback)
|
||||
|
||||
def _reset_connection_state(self, event=None):
|
||||
#TODO: Use stream state here
|
||||
|
Loading…
x
Reference in New Issue
Block a user