[Git][gajim/gajim][master] Deal with stanza-id not added by a mam archive

Philipp Hörist gitlab at dev.gajim.org
Sat Jan 19 21:36:40 CET 2019


Philipp Hörist pushed to branch master at gajim / gajim


Commits:
31d9b397 by Philipp Hörist at 2019-01-19T20:35:58Z
Deal with stanza-id not added by a mam archive

Fixes #9550

- - - - -


1 changed file:

- gajim/common/modules/message.py


Changes:

=====================================
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):



View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/31d9b397441b8c239d4094022827b514aa6e3785

-- 
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/31d9b397441b8c239d4094022827b514aa6e3785
You're receiving this email because of your account on dev.gajim.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gajim.org/pipermail/commits/attachments/20190119/35cb6d9c/attachment.html>


More information about the Commits mailing list