diff --git a/src/common/connection_handlers_events.py b/src/common/connection_handlers_events.py index b328a6ad0..cc799dd84 100644 --- a/src/common/connection_handlers_events.py +++ b/src/common/connection_handlers_events.py @@ -1171,7 +1171,7 @@ class ArchivingErrorReceivedEvent(nec.NetworkIncomingEvent): def generate(self): self.conn = self.base_event.conn self.stanza = self.base_event.stanza - self.type_ = self.base_event.conn + self.type_ = self.base_event.type_ if self.type_ == 'error': self.error_msg = self.stanza.getErrorMsg()