fix: Address review feedback

This commit is contained in:
timedout committed 2026-07-11 04:30:14 +01:00
1 parent 8688a66df7
commit eb9a478f00
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