From b3d099a52aa9b018edf25f7a13901f350568df1b Mon Sep 17 00:00:00 2001 From: timedout Date: Tue, 17 Nov 2026 09:07:42 +0000 Subject: [PATCH] fix: Always advertise unstable feature for MSC4354 Fixes #2542 --- src/core/matrix/versions.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/core/matrix/versions.rs b/src/core/matrix/versions.rs index 160efe085..8db196e1f 100644 --- a/src/core/matrix/versions.rs +++ b/src/core/matrix/versions.rs @@ -35,10 +35,10 @@ pub fn versions() -> Vec { pub fn unstable_features(experiments: &Experiments) -> BTreeMap { BTreeMap::from_iter([ // MatrixRTC (https://github.com/matrix-org/matrix-spec-proposals/pull/4143) - // Expected for spec v1.20 + // Expected for spec v1.20/v2.0 ("org.matrix.msc4143".to_owned(), true), // Simplified Sliding sync (https://github.com/matrix-org/matrix-spec-proposals/pull/4186) - // Expected for spec v1.20 + // Expected for spec v1.20/v2.0 ("org.matrix.simplified_msc3575".to_owned(), true), ("org.matrix.msc4155".to_owned(), experiments.msc4155.is_enabled()), // profile change propagation (https://github.com/matrix-org/matrix-spec-proposals/pull/4466) @@ -48,5 +48,8 @@ pub fn unstable_features(experiments: &Experiments) -> BTreeMap { ("org.continuwuity.msc4484.unstable".to_owned(), experiments.msc4484.is_enabled()), ("org.continuwuity.msc4560".to_owned(), experiments.msc4560.is_enabled()), ("fi.mau.msc2815".to_owned(), experiments.msc2815.is_enabled()), + // Sticky events (https://github.com/matrix-org/matrix-spec-proposals/pull/4354) + // Proposal merged, expected for spec v1.20/v2.0 + ("org.matrix.msc4354".to_owned(), true), ]) }