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

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