From 0a48491a396d511b1510bda2ebeb3564089afbb9 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Sat, 5 Mar 2011 13:17:32 +0100 Subject: [PATCH] don't show error messages without a . Fixes #6756 --- src/common/connection_handlers.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/common/connection_handlers.py b/src/common/connection_handlers.py index 11f34a4dd..3fb4263d4 100644 --- a/src/common/connection_handlers.py +++ b/src/common/connection_handlers.py @@ -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