Dont check mam:2 compliance for error messages

This commit is contained in:
Philipp Hörist 2018-11-19 18:04:32 +01:00
parent 567b871b6a
commit 9c99af4f16
1 changed files with 3 additions and 0 deletions

View File

@ -207,6 +207,9 @@ class ConnectionHandlersBase:
if obj.conn.name != self.name:
return
if obj.stanza.getType() == 'error':
return
self._check_for_mam_compliance(obj.jid, obj.stanza_id)
if (app.config.should_log(obj.conn.name, obj.jid) and