forked-synapse/synapse/state
Richard van der Hoff 8ecf6be1e1
Move some event auth checks out to a different method (#13065)
* 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.
2022-06-15 19:48:22 +01:00
..
__init__.py Track a histogram of state res durations (#13036) 2022-06-15 15:19:49 +01:00
v1.py Move some event auth checks out to a different method (#13065) 2022-06-15 19:48:22 +01:00
v2.py Move some event auth checks out to a different method (#13065) 2022-06-15 19:48:22 +01:00