Skip to content
Snippets Groups Projects
Commit b606664f authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

display error messages even if they don't have a <body>. Fixes #7798, see #6756

parent 82268dac
No related branches found
No related tags found
No related merge requests found
......@@ -1232,6 +1232,8 @@ class ConnectionHandlersBase:
obj.session.control.conv_textview.hide_xep0184_warning(id_)
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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment