XEP-0009: fix a traceback on recipient unavailable
(probably a past typo)
This commit is contained in:
parent
20c4ff823a
commit
3569038493
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ class XEP_0009(BasePlugin):
|
|||
def _recipient_unvailable(self, iq):
|
||||
payload = iq.get_payload()
|
||||
iq = iq.reply()
|
||||
error().set_payload(payload)
|
||||
iq.error().set_payload(payload)
|
||||
iq['error']['code'] = '404'
|
||||
iq['error']['type'] = 'wait'
|
||||
iq['error']['condition'] = 'recipient-unavailable'
|
||||
|
|
Loading…
Reference in a new issue