xep_0092: Return <service-unavailable/> instead. Fixes #3415.

This commit is contained in:
Emmanuel Gil Peyrot 2018-08-08 16:52:40 +02:00
parent 37d1f2a6b0
commit 62661ee04f

View file

@ -72,7 +72,7 @@ class XEP_0092(BasePlugin):
else:
iq.error()
iq['error']['type'] = 'cancel'
iq['error']['condition'] = 'forbidden'
iq['error']['condition'] = 'service-unavailable'
iq.send()
def get_version(self, jid, ifrom=None, timeout=None, callback=None,