0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-18 07:43:52 +01:00
synapse/tests/state
Erik Johnston c5b6abd53d
Correctly handle unpersisted events when calculating auth chain difference. (#8827)
We do state res with unpersisted events when calculating the new current state of the room, so that should be the only thing impacted. I don't think this is tooooo big of a deal as:

1. the next time a state event happens in the room the current state should correct itself;
2. in the common case all the unpersisted events' auth events will be pulled in by other state, so will still return the correct result (or one which is sufficiently close to not affect the result); and
3. we mostly use the state at an event to do important operations, which isn't affected by this.
2020-12-02 15:22:37 +00:00
..
__init__.py Add some state res v2 tests 2018-10-16 16:28:39 +01:00
test_v2.py Correctly handle unpersisted events when calculating auth chain difference. (#8827) 2020-12-02 15:22:37 +00:00