summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0009
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2014-08-11 14:08:56 -0700
committerLance Stout <lancestout@gmail.com>2014-08-11 14:08:56 -0700
commita5c03b763a6545a214f4f391f7c07582c22150b2 (patch)
tree88541a2ca7276e115bf974504a643d940b762671 /sleekxmpp/plugins/xep_0009
parente5582694c07236e6830c20361840360a1dde37f3 (diff)
parent3670d82f1c3ae78831574dbb4cd3138931ef4d5a (diff)
downloadslixmpp-a5c03b763a6545a214f4f391f7c07582c22150b2.tar.gz
slixmpp-a5c03b763a6545a214f4f391f7c07582c22150b2.tar.bz2
slixmpp-a5c03b763a6545a214f4f391f7c07582c22150b2.tar.xz
slixmpp-a5c03b763a6545a214f4f391f7c07582c22150b2.zip
Merge pull request #305 from trinque/develop
Added wait param to XEP_0009 RemoteSession.close
Diffstat (limited to 'sleekxmpp/plugins/xep_0009')
-rw-r--r--sleekxmpp/plugins/xep_0009/remote.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sleekxmpp/plugins/xep_0009/remote.py b/sleekxmpp/plugins/xep_0009/remote.py
index 8c08e8f3..8847ff24 100644
--- a/sleekxmpp/plugins/xep_0009/remote.py
+++ b/sleekxmpp/plugins/xep_0009/remote.py
@@ -569,11 +569,11 @@ class RemoteSession(object):
self._register_callback(pid, callback)
iq.send()
- def close(self):
+ def close(self, wait=False):
'''
Closes this session.
'''
- self._client.disconnect(False)
+ self._client.disconnect(wait=wait)
self._session_close_callback()
def _on_jabber_rpc_method_call(self, iq):