jabber_mirror: Respond to XMPP pings

Other clients like Pidgin sends these.

(imported from commit 61c69a080accda939b82ce8701b10ffc6dda672e)
This commit is contained in:
Zev Benjamin 2014-02-28 13:58:04 -05:00
parent 84412572a1
commit 52be065eda

View file

@ -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