style: Move PDU check functions into their own module

This commit is contained in:
timedout committed 2026-07-11 17:27:42 +01:00
1 parent 99a5f2a9fb
commit 318d2b205a
5 files changed
+233 -248

No files matched your search

@@ -159,13 +159,13 @@ impl super::Service {
}
}
if !self
.is_event_self_authorised(
.auth_state_check_4(
&pdu,
room_version_rules,
create_event.as_pdu(),
&auth_events_by_key,
)
.await
.await?
{
self.services.pdu_metadata.mark_event_rejected(&event_id);
}