-
- Downloads
Refactor `_resolve_state_at_missing_prevs` to return an `EventContext` (#13404)
Previously, `_resolve_state_at_missing_prevs` returned the resolved
state before an event and a partial state flag. These were unwieldy to
carry around would only ever be used to build an event context. Build
the event context directly instead.
Signed-off-by:
Sean Quah <seanq@matrix.org>
Showing
- changelog.d/13404.misc 1 addition, 0 deletionschangelog.d/13404.misc
- synapse/handlers/federation_event.py 44 additions, 82 deletionssynapse/handlers/federation_event.py
- synapse/state/__init__.py 8 additions, 0 deletionssynapse/state/__init__.py
- synapse/storage/controllers/state.py 4 additions, 0 deletionssynapse/storage/controllers/state.py
- tests/handlers/test_federation.py 11 additions, 4 deletionstests/handlers/test_federation.py
Loading
Please register or sign in to comment