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

don't show error messages without a <body>. Fixes #6756

parent 7fb3ec1c
No related branches found
No related tags found
No related merge requests found
......@@ -1008,6 +1008,8 @@ class ConnectionHandlersBase:
obj.session.control.conv_textview.hide_xep0184_warning(obj.id_)
if obj.mtype == 'error':
if not obj.msgtxt:
return True
self.dispatch_error_message(obj.stanza, obj.msgtxt,
obj.session, obj.fjid, obj.timestamp)
return True
......
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