Philipp Hörist pushed to branch master at gajim / python-nbxmpp
Commits:
8a626829 by lovetox at 2021-09-08T21:34:14+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/8a626829d7c4b14077f764e61b1d1e867d21413f
--
View it on GitLab:
https://dev.gajim.org/gajim/python-nbxmpp/-/commit/8a626829d7c4b14077f764e61b1d1e867d21413f
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