From 9c99af4f16b39b74d02f66e3cad6239289c224e1 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 d00932d17..2f3f841d3 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