fix: Address review feedback

This commit is contained in:
timedout committed 2026-07-11 17:27:42 +01:00
1 parent 2fbb779d12
commit b51a34c1c1
15 files changed
+250 -211

No files matched your search

@@ -56,9 +56,9 @@ impl super::Service {
continue;
},
};
if !Self::pdu_format_check_1(&auth_pdu_json) {
if let Err(e) = Self::pdu_format_check_1(&auth_pdu_json) {
// drop this PDU
warn!(%auth_event_id, "Dropping auth chain event as it is too large");
warn!(%auth_event_id, error=?e, "Dropping auth chain event as it violates the room event format");
continue;
}
let auth_pdu_json = match self