From b5bd5f15f02aeeb8a5843c66e12950438cbe38e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Mon, 19 Nov 2018 18:04:32 +0100 Subject: [PATCH] Dont check mam:2 compliance for error messages --- gajim/common/connection_handlers.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gajim/common/connection_handlers.py b/gajim/common/connection_handlers.py index df8855380..30a36b6b8 100644 --- a/gajim/common/connection_handlers.py +++ b/gajim/common/connection_handlers.py @@ -207,6 +207,9 @@ class ConnectionHandlersBase: if obj.conn.name != self.name: return + if obj.stanza.getType() == 'error': + return + self._check_for_mam_compliance(obj.jid, obj.stanza_id) if (app.config.should_log(obj.conn.name, obj.jid) and