summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2017-02-14 00:46:36 +0100
committermathieui <mathieui@mathieui.net>2017-02-14 00:46:36 +0100
commit5bf69dca763d6ef4fe21636ff1b606d042942e71 (patch)
tree21f9838428aa064c093783afd7fdbf18774621c0
parent59dad12820733de4e6b92082404e1726aaef19f8 (diff)
downloadslixmpp-5bf69dca763d6ef4fe21636ff1b606d042942e71.tar.gz
slixmpp-5bf69dca763d6ef4fe21636ff1b606d042942e71.tar.bz2
slixmpp-5bf69dca763d6ef4fe21636ff1b606d042942e71.tar.xz
slixmpp-5bf69dca763d6ef4fe21636ff1b606d042942e71.zip
Return a Future on clientxmpp.get_roster()
-rw-r--r--slixmpp/clientxmpp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/slixmpp/clientxmpp.py b/slixmpp/clientxmpp.py
index dd018fa2..891a9fb6 100644
--- a/slixmpp/clientxmpp.py
+++ b/slixmpp/clientxmpp.py
@@ -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