diff options
author | David Robertson <davidr@element.io> | 2023-01-17 12:44:15 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-17 12:44:15 +0000 |
commit | 5b3af1c7d0c5a8901fada7648136f186726fd135 (patch) | |
tree | c21d9180dc917c84ee65084fede02973fca665ff /synapse/config/experimental.py | |
parent | Fix bug in `wait_for_stream_position` (#14856) (diff) | |
download | synapse-5b3af1c7d0c5a8901fada7648136f186726fd135.tar.xz |
Stabilise serving partial join responses (#14839)
Serving partial join responses is no longer experimental. They will only be served under the stable identifier if the the undocumented config flag experimental.msc3706_enabled is set to true. Synapse continues to request a partial join only if the undocumented config flag experimental.faster_joins is set to true; this setting remains present and unaffected.
Diffstat (limited to 'synapse/config/experimental.py')
-rw-r--r-- | synapse/config/experimental.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/synapse/config/experimental.py b/synapse/config/experimental.py index 72a17e0616..0444ef8244 100644 --- a/synapse/config/experimental.py +++ b/synapse/config/experimental.py @@ -75,11 +75,15 @@ class ExperimentalConfig(Config): ) # MSC3706 (server-side support for partial state in /send_join responses) + # Synapse will always serve partial state responses to requests using the stable + # query parameter `omit_members`. If this flag is set, Synapse will also serve + # partial state responses to requests using the unstable query parameter + # `org.matrix.msc3706.partial_state`. self.msc3706_enabled: bool = experimental.get("msc3706_enabled", False) # experimental support for faster joins over federation # (MSC2775, MSC3706, MSC3895) - # requires a target server with msc3706_enabled enabled. + # requires a target server that can provide a partial join response (MSC3706) self.faster_joins_enabled: bool = experimental.get("faster_joins", False) # MSC3720 (Account status endpoint) |