summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-08-08 16:52:40 +0200
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-08-08 16:52:40 +0200
commit62661ee04f9df94b0a79be077f7d38fb313ceffd (patch)
tree65db2ccb6da805d5b7f08880036881cc64582c45
parent37d1f2a6b09a4352c93913fa4c92153c4ca80cb4 (diff)
downloadslixmpp-62661ee04f9df94b0a79be077f7d38fb313ceffd.tar.gz
slixmpp-62661ee04f9df94b0a79be077f7d38fb313ceffd.tar.bz2
slixmpp-62661ee04f9df94b0a79be077f7d38fb313ceffd.tar.xz
slixmpp-62661ee04f9df94b0a79be077f7d38fb313ceffd.zip
xep_0092: Return <service-unavailable/> instead. Fixes #3415.
-rw-r--r--slixmpp/plugins/xep_0092/version.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/slixmpp/plugins/xep_0092/version.py b/slixmpp/plugins/xep_0092/version.py
index 35c2c5ce..a60acd99 100644
--- a/slixmpp/plugins/xep_0092/version.py
+++ b/slixmpp/plugins/xep_0092/version.py
@@ -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,