Dont check mam:2 compliance for error messages
This commit is contained in:
parent
567b871b6a
commit
9c99af4f16
|
@ -207,6 +207,9 @@ class ConnectionHandlersBase:
|
||||||
if obj.conn.name != self.name:
|
if obj.conn.name != self.name:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
if obj.stanza.getType() == 'error':
|
||||||
|
return
|
||||||
|
|
||||||
self._check_for_mam_compliance(obj.jid, obj.stanza_id)
|
self._check_for_mam_compliance(obj.jid, obj.stanza_id)
|
||||||
|
|
||||||
if (app.config.should_log(obj.conn.name, obj.jid) and
|
if (app.config.should_log(obj.conn.name, obj.jid) and
|
||||||
|
|
Loading…
Reference in New Issue