synapse/changelog.d/10988.misc
Richard van der Hoff cb88ed912b
_check_event_auth: move event validation earlier (#10988)
There's little point in doing a fancy state reconciliation dance if the event
itself is invalid.

Likewise, there's no point checking it again in `_check_for_soft_fail`.
2021-10-05 12:50:07 +01:00

2 lines
71 B
Plaintext

Clean up some of the federation event authentication code for clarity.