Update Rust side versions endpoint

Since https://github.com/element-hq/synapse/commit/c63d77a79d7157f26f849684520ba9e99f4d07c0 moved things
This commit is contained in:
Jason Robinson
2026-07-07 22:48:34 +03:00
parent cb81bd3a6b
commit 3180924c5a
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -48,6 +48,7 @@ pub struct AuthConfig {
#[derive(FromPyObject, Clone)]
pub struct ServerConfig {
pub max_event_delay_ms: Option<u64>,
pub include_profile_updates_in_sync: bool,
}
#[derive(FromPyObject, Clone)]
+4
View File
@@ -257,6 +257,9 @@ pub struct UnstableFeatureMap {
/// MSC4380: Invite blocking
#[serde(rename = "org.matrix.msc4380.stable")]
msc4380: bool,
/// MSC4429: Profile updates for legacy /sync.
#[serde(rename = "org.matrix.msc4429")]
msc4429: bool,
/// MSC4445: Sync timeline order
#[serde(rename = "org.matrix.msc4445.initial_sync_timeline_topological_ordering")]
msc4445_initial_sync_timeline_topological_ordering: bool,
@@ -316,6 +319,7 @@ pub fn synapse_config_to_global_unstable_feature_map(
msc4169: config.experimental.msc4169_enabled,
msc4354: config.experimental.msc4354_enabled,
msc4380: true,
msc4429: config.server.include_profile_updates_in_sync,
msc4445_initial_sync_timeline_topological_ordering: true,
msc4491_enabled: config.experimental.msc4491_enabled,
msc4143_enabled: config.experimental.msc4143_enabled,