XEP-0009: fix a traceback on recipient unavailable
(probably a past typo)
This commit is contained in:
parent
20c4ff823a
commit
3569038493
@ -121,7 +121,7 @@ class XEP_0009(BasePlugin):
|
|||||||
def _recipient_unvailable(self, iq):
|
def _recipient_unvailable(self, iq):
|
||||||
payload = iq.get_payload()
|
payload = iq.get_payload()
|
||||||
iq = iq.reply()
|
iq = iq.reply()
|
||||||
error().set_payload(payload)
|
iq.error().set_payload(payload)
|
||||||
iq['error']['code'] = '404'
|
iq['error']['code'] = '404'
|
||||||
iq['error']['type'] = 'wait'
|
iq['error']['type'] = 'wait'
|
||||||
iq['error']['condition'] = 'recipient-unavailable'
|
iq['error']['condition'] = 'recipient-unavailable'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user