From 31d9b397441b8c239d4094022827b514aa6e3785 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Sat, 19 Jan 2019 21:35:58 +0100 Subject: [PATCH] Deal with stanza-id not added by a mam archive Fixes #9550 --- gajim/common/modules/message.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gajim/common/modules/message.py b/gajim/common/modules/message.py index 016d69e1d..f7434ccac 100644 --- a/gajim/common/modules/message.py +++ b/gajim/common/modules/message.py @@ -331,6 +331,8 @@ class Message: if archive.bareMatch(properties.stanza_id.by): return properties.stanza_id.id, None + # stanza-id not added by the archive, ignore it. + return None, None class MessageReceivedEvent(NetworkIncomingEvent):