spelling
This commit is contained in:
parent
f19ea1d62e
commit
c64b06921b
1 changed files with 51 additions and 51 deletions
|
|
@ -109,11 +109,11 @@ class XEP_0095():
|
|||
self.sendError(id, to_jid, 400, 'cancel', profile=profile)
|
||||
|
||||
def sendFailedError(self, id, to_jid, profile):
|
||||
"""Helper method to send when we transfert failed
|
||||
"""Helper method to send when we transfer failed
|
||||
@param id: IQ id
|
||||
@param to_jid: recipient
|
||||
@param profile: %(doc_profile)s"""
|
||||
self.sendError(id, to_jid, 500, 'cancel', {'custom':'failed'}, profile=profile) #as there is no error code for failed transfert, we use 500 (undefined-condition)
|
||||
self.sendError(id, to_jid, 500, 'cancel', {'custom':'failed'}, profile=profile) #as there is no error code for failed transfer, we use 500 (undefined-condition)
|
||||
|
||||
def sendError(self, id, to_jid, err_code, err_type='cancel', data={}, profile='@NONE@'):
|
||||
"""Send IQ error as a result
|
||||
|
|
|
|||
Loading…
Reference in a new issue