-
- Downloads
Fix bug which caused rejected events to be stored with the wrong room state (#6320)
Fixes a bug where rejected events were persisted with the wrong state group. Also fixes an occasional internal-server-error when receiving events over federation which are rejected and (possibly because they are backwards-extremities) have no prev_group. Fixes #6289.
Showing
- changelog.d/6320.bugfix 1 addition, 0 deletionschangelog.d/6320.bugfix
- synapse/events/snapshot.py 23 additions, 2 deletionssynapse/events/snapshot.py
- synapse/handlers/federation.py 1 addition, 0 deletionssynapse/handlers/federation.py
- synapse/state/__init__.py 83 additions, 89 deletionssynapse/state/__init__.py
- synapse/storage/data_stores/main/state.py 1 addition, 1 deletionsynapse/storage/data_stores/main/state.py
- tests/handlers/test_federation.py 126 additions, 0 deletionstests/handlers/test_federation.py
- tests/test_state.py 50 additions, 11 deletionstests/test_state.py
Loading
Please register or sign in to comment