From 52be065edaea93bd85feff02acd6490c5c28b19e Mon Sep 17 00:00:00 2001 From: Zev Benjamin Date: Fri, 28 Feb 2014 13:58:04 -0500 Subject: [PATCH] jabber_mirror: Respond to XMPP pings Other clients like Pidgin sends these. (imported from commit 61c69a080accda939b82ce8701b10ffc6dda672e) --- bots/jabber_mirror.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bots/jabber_mirror.py b/bots/jabber_mirror.py index f2eb9e1..dabfaaf 100755 --- a/bots/jabber_mirror.py +++ b/bots/jabber_mirror.py @@ -51,8 +51,8 @@ class JabberToZulipBot(ClientXMPP): self.zulip = None self.use_ipv6 = False - # Jabber chatroom support. - self.register_plugin('xep_0045') + self.register_plugin('xep_0045') # Jabber chatrooms + self.register_plugin('xep_0199') # XMPP Ping if openfire: # OpenFire Jabber servers use a different SSL protocol version