mirror of
https://github.com/element-hq/synapse.git
synced 2025-03-06 07:56:51 +00:00
* Add auth events to events used in tests * Move some event auth checks out to a different method Some of the event auth checks apply to an event's auth_events, rather than the state at the event - which means they can play no part in state resolution. Move them out to a separate method. * Rename check_auth_rules_for_event Now it only checks the state-dependent auth rules, it needs a better name.
1 line
71 B
Text
1 line
71 B
Text
Avoid rechecking event auth rules which are independent of room state.
|