mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-12-04 06:11:47 +00:00
refactor: Move PDU checks 1, 2, and 3 into pdu_checks.rs
This commit is contained in:
4 files changed
+53
-24
No files matched your search
@@ -127,6 +127,11 @@ impl super::Service {
|
||||
continue;
|
||||
}
|
||||
|
||||
// IMPORTANT: We can't use the handy dandy `handle_outlier_pdu` function here
|
||||
// because it may then try to fetch missing auth events, resulting in deep
|
||||
// recursion. We will do the minimum required steps to validate the PDU here
|
||||
// (steps 1 through 4).
|
||||
|
||||
let mut auth_events_by_key: HashMap<_, _> =
|
||||
HashMap::with_capacity(pdu.auth_events.len());
|
||||
|
||||
|
||||
Reference in new issue
Block a user