changeset 8cf84966ffe9 in /home/hg/repos/gajim
author: Yann Leboulanger asterix@lagaule.org branches: details:http://hg.gajim.org/gajim?cmd=changeset;node=8cf84966ffe9 description: display error messages even if they don't have a <body>. Fixes #7798, see #6756
diffstat:
src/common/connection_handlers.py | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
diffs (12 lines):
diff -r 2a25e5d9d68a -r 8cf84966ffe9 src/common/connection_handlers.py --- a/src/common/connection_handlers.py Sun Sep 07 21:51:06 2014 +0200 +++ b/src/common/connection_handlers.py Sun Sep 14 14:23:31 2014 +0200 @@ -1231,6 +1231,8 @@
if obj.mtype == 'error': if not obj.msgtxt: + obj.msgtxt = _('message') + if not obj.msgtxt: return True self.dispatch_error_message(obj.stanza, obj.msgtxt, obj.session, obj.fjid, obj.timestamp)