Commit 8a626829 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

Correction: Ignore messages where message id == replace id

This can only happen when clients don’t use unique ids or are broken
parent f532ff35
Pipeline #8195 passed with stages
in 5 minutes and 10 seconds
......@@ -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_)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment