-
- Downloads
Rip out auth-event reconciliation code (#12943)
There is a corner in `_check_event_auth` (long known as "the weird corner") where, if we get an event with auth_events which don't match those we were expecting, we attempt to resolve the diffence between our state and the remote's with a state resolution. This isn't specced, and there's general agreement we shouldn't be doing it. However, it turns out that the faster-joins code was relying on it, so we need to introduce something similar (but rather simpler) for that.
Showing
- changelog.d/12943.misc 1 addition, 0 deletionschangelog.d/12943.misc
- synapse/handlers/federation_event.py 82 additions, 195 deletionssynapse/handlers/federation_event.py
- synapse/state/__init__.py 0 additions, 26 deletionssynapse/state/__init__.py
- tests/handlers/test_federation.py 1 addition, 139 deletionstests/handlers/test_federation.py
- tests/rest/client/test_third_party_rules.py 2 additions, 9 deletionstests/rest/client/test_third_party_rules.py
- tests/test_federation.py 2 additions, 6 deletionstests/test_federation.py
Loading
Please register or sign in to comment