mirror of
https://github.com/element-hq/synapse
synced 2024-08-19 19:40:20 +00:00
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.
|