Philipp Hörist pushed to branch nbxmpp_2.0 at gajim / python-nbxmpp
Commits:
ce819122 by lovetox at 2021-09-08T21:35:16+02:00
Correction: Ignore messages where message id == replace id
This can only happen when clients don’t use unique ids or are broken
- - - - -
1 changed file:
- nbxmpp/modules/correction.py
Changes:
=====================================
nbxmpp/modules/correction.py
=====================================
@@ -44,4 +44,9 @@ class Correction(BaseModule):
self._log.warning(stanza)
return
+ if stanza.getID() == id_:
+ self._log.warning('correcton id == message id')
+ self._log.warning(stanza)
+ return
+
properties.correction = CorrectionData(id_)
View it on GitLab:
https://dev.gajim.org/gajim/python-nbxmpp/-/commit/ce8191222c6602c65b414ec869ec2c66e368704f
--
View it on GitLab:
https://dev.gajim.org/gajim/python-nbxmpp/-/commit/ce8191222c6602c65b414ec869ec2c66e368704f
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits