diff options
author | Anton Ryzhov <anton@ryzhov.me> | 2014-01-21 16:19:27 +0400 |
---|---|---|
committer | Anton Ryzhov <anton@ryzhov.me> | 2014-01-21 16:19:27 +0400 |
commit | cebfd844167cdb334c475bb579c32905e68159bc (patch) | |
tree | db826c96ad14dd375d94e8204bf2514d50baec77 /examples/ping.py | |
parent | 12995e280e7dcb9a34933d9e4fa3614d1b958eaa (diff) | |
download | slixmpp-cebfd844167cdb334c475bb579c32905e68159bc.tar.gz slixmpp-cebfd844167cdb334c475bb579c32905e68159bc.tar.bz2 slixmpp-cebfd844167cdb334c475bb579c32905e68159bc.tar.xz slixmpp-cebfd844167cdb334c475bb579c32905e68159bc.zip |
Examples fixes
Diffstat (limited to 'examples/ping.py')
-rwxr-xr-x | examples/ping.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/ping.py b/examples/ping.py index 8fbb5655..1a1c2e94 100755 --- a/examples/ping.py +++ b/examples/ping.py @@ -37,7 +37,7 @@ class PingTest(sleekxmpp.ClientXMPP): def __init__(self, jid, password, pingjid): sleekxmpp.ClientXMPP.__init__(self, jid, password) if pingjid is None: - pingjid = self.jid + pingjid = self.boundjid.bare self.pingjid = pingjid # The session_start event will be triggered when |