diff options
author | David Robertson <davidr@element.io> | 2023-01-13 17:58:53 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-13 17:58:53 +0000 |
commit | 52ae80dd1afd9bb5b4cf2bb79297e1590f92cacb (patch) | |
tree | f7f061c591762bbb75c82900db6a375925500f7b /synapse/federation/federation_server.py | |
parent | Merge account data streams (#14826) (diff) | |
download | synapse-52ae80dd1afd9bb5b4cf2bb79297e1590f92cacb.tar.xz |
Use stable identifiers for faster joins (#14832)
* Use new query param when requesting a partial join * Read new query param when serving partial join * Provide new field names when serving partial joins * Read new field names from partial join response * Changelog
Diffstat (limited to 'synapse/federation/federation_server.py')
-rw-r--r-- | synapse/federation/federation_server.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/federation/federation_server.py b/synapse/federation/federation_server.py index bb20af6e91..c65dbf87fb 100644 --- a/synapse/federation/federation_server.py +++ b/synapse/federation/federation_server.py @@ -725,10 +725,12 @@ class FederationServer(FederationBase): "state": [p.get_pdu_json(time_now) for p in state_events], "auth_chain": [p.get_pdu_json(time_now) for p in auth_chain_events], "org.matrix.msc3706.partial_state": caller_supports_partial_state, + "members_omitted": caller_supports_partial_state, } if servers_in_room is not None: resp["org.matrix.msc3706.servers_in_room"] = list(servers_in_room) + resp["servers_in_room"] = list(servers_in_room) return resp |