Return a Future on clientxmpp.get_roster()

This commit is contained in:
mathieui 2017-02-14 00:46:36 +01:00
parent 59dad12820
commit 5bf69dca76
No known key found for this signature in database
GPG key ID: C59F84CEEFD616E3

View file

@ -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