0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-06-25 05:58:21 +02:00
synapse/synapse/storage/controllers
Sean Quah 0a686d1d13
Faster joins: Refactor handling of servers in room (#14954)
Ensure that the list of servers in a partial state room always contains
the server we joined off.

Also refactor `get_partial_state_servers_at_join` to return `None` when
the given room is no longer partial stated, to explicitly indicate when
the room has partial state. Otherwise it's not clear whether an empty
list means that the room has full state, or the room is partial stated,
but the server we joined off told us that there are no servers in the
room.

Signed-off-by: Sean Quah <seanq@matrix.org>
2023-02-03 15:39:59 +00:00
..
__init__.py Don't pull out state in compute_event_context for unconflicted state (#13267) 2022-07-14 13:57:02 +00:00
persist_events.py Move StateFilter to synapse.types (#14668) 2022-12-12 16:19:30 +00:00
purge_events.py Rename storage classes (#12913) 2022-05-31 12:17:50 +00:00
state.py Faster joins: Refactor handling of servers in room (#14954) 2023-02-03 15:39:59 +00:00