summaryrefslogtreecommitdiff
path: root/examples/send_client.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/send_client.py')
-rwxr-xr-xexamples/send_client.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/send_client.py b/examples/send_client.py
index a3b11707..6e3e5865 100755
--- a/examples/send_client.py
+++ b/examples/send_client.py
@@ -58,9 +58,7 @@ class SendMsgBot(slixmpp.ClientXMPP):
mbody=self.msg,
mtype='chat')
- # Using wait=True ensures that the send queue will be
- # emptied before ending the session.
- self.disconnect(wait=True)
+ self.disconnect()
if __name__ == '__main__':