mirror of
https://github.com/element-hq/synapse.git
synced 2026-08-29 07:48:20 +00:00
Update Rust side versions endpoint
Since https://github.com/element-hq/synapse/commit/c63d77a79d7157f26f849684520ba9e99f4d07c0 moved things
This commit is contained in:
@@ -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)]
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user