mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-26 11:36:03 +03:00
0a686d1d13
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>
1 line
95 B
Text
1 line
95 B
Text
Faster room joins: Refactor internal handling of servers in room to never store an empty list.
|