xep_0092: Return <service-unavailable/> instead. Fixes #3415.
This commit is contained in:
parent
37d1f2a6b0
commit
62661ee04f
@ -72,7 +72,7 @@ class XEP_0092(BasePlugin):
|
|||||||
else:
|
else:
|
||||||
iq.error()
|
iq.error()
|
||||||
iq['error']['type'] = 'cancel'
|
iq['error']['type'] = 'cancel'
|
||||||
iq['error']['condition'] = 'forbidden'
|
iq['error']['condition'] = 'service-unavailable'
|
||||||
iq.send()
|
iq.send()
|
||||||
|
|
||||||
def get_version(self, jid, ifrom=None, timeout=None, callback=None,
|
def get_version(self, jid, ifrom=None, timeout=None, callback=None,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user