mirror of
https://github.com/element-hq/synapse.git
synced 2026-11-05 11:08:00 +00:00
check_state_dependent_auth_rules and auth_types_for_event now call the Rust implementation, so every caller (federation, sticky events, state res v1 and v2) uses it. The Python helpers that only they used are gone. The ed25519 check for third-party invites stays in Python, as a helper the Rust rule calls. auth_types_for_event returns its pairs in the order the Python added them. Event creation lists the auth events in the set's iteration order, so a Rust HashSet's random order changed event IDs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ULdieJyQoHNzeHq42H2M1p