oups :p
This commit is contained in:
parent
b7f87a52db
commit
58043c646d
1 changed files with 8 additions and 8 deletions
|
@ -354,10 +354,10 @@ class Gui(object):
|
||||||
room = self.get_room_by_name('Info')
|
room = self.get_room_by_name('Info')
|
||||||
code = error.getAttr('code')
|
code = error.getAttr('code')
|
||||||
typ = error.getAttr('type')
|
typ = error.getAttr('type')
|
||||||
# if error.getTag('text'):
|
if error.getTag('text'):
|
||||||
# body = error.getTag('text').getData()
|
body = error.getTag('text').getData()
|
||||||
# else: # No description of the error is provided in the stanza
|
else: # No description of the error is provided in the stanza
|
||||||
# # If it's a standard error, use our own messages
|
# If it's a standard error, use our own messages
|
||||||
if code in ERROR_AND_STATUS_CODES.keys():
|
if code in ERROR_AND_STATUS_CODES.keys():
|
||||||
body = ERROR_AND_STATUS_CODES[code]
|
body = ERROR_AND_STATUS_CODES[code]
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue