don't show error messages without a <body>. Fixes #6756
This commit is contained in:
parent
7fb3ec1c1d
commit
0a48491a39
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue