diff options
author | Lance Stout <lancestout@gmail.com> | 2011-08-10 09:05:43 -0700 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2011-08-10 09:05:43 -0700 |
commit | 156b3200e3b5ad1b2e64eecc48cdc792f7b2ffd9 (patch) | |
tree | 231b986e0d9d856f2e76d1c99354d15264700277 /sleekxmpp/plugins | |
parent | 572becad44b8cb577a1f8357e04fa93235894536 (diff) | |
download | slixmpp-156b3200e3b5ad1b2e64eecc48cdc792f7b2ffd9.tar.gz slixmpp-156b3200e3b5ad1b2e64eecc48cdc792f7b2ffd9.tar.bz2 slixmpp-156b3200e3b5ad1b2e64eecc48cdc792f7b2ffd9.tar.xz slixmpp-156b3200e3b5ad1b2e64eecc48cdc792f7b2ffd9.zip |
Don't include ping stanza in the ping result.
Diffstat (limited to 'sleekxmpp/plugins')
-rw-r--r-- | sleekxmpp/plugins/xep_0199/ping.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0199/ping.py b/sleekxmpp/plugins/xep_0199/ping.py index d1e08e61..0fa22f8a 100644 --- a/sleekxmpp/plugins/xep_0199/ping.py +++ b/sleekxmpp/plugins/xep_0199/ping.py @@ -108,7 +108,7 @@ class xep_0199(base_plugin): iq -- The ping request. """ log.debug("Pinged by %s" % iq['from']) - iq.reply().enable('ping').send() + iq.reply().send() def send_ping(self, jid, timeout=None, errorfalse=False, ifrom=None, block=True, callback=None): |