Philipp Hörist pushed to branch master at gajim / gajim
Commits: 36a316ae by Philipp Hörist at 2019-08-05T15:33:55Z Add None check for stanza_id
nbxmpp makes sure that 'by' and 'id' are set if stanza_id is not None
- - - - -
1 changed file:
- gajim/common/modules/message.py
Changes:
===================================== gajim/common/modules/message.py ===================================== @@ -313,8 +313,7 @@ class Message(BaseModule): # Deduplicate self message with message-id return None, properties.id
- if properties.stanza_id.by is None: - # We can not verify who sent this stanza-id, ignore it. + if properties.stanza_id is None: return None, None
if properties.type.is_groupchat:
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/36a316ae3bb548fce1a0f7cc655849c7723...