From a6797ca0a2bbd12f8675b423b15403eabf290117 Mon Sep 17 00:00:00 2001 From: The one with the braid Date: Sat, 21 Sep 2024 10:53:57 +0200 Subject: [PATCH] fix: add missing msc3916 unstable feature in version response Fixes: #473 Signed-off-by: The one with the braid --- src/api/client_server/unversioned.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/api/client_server/unversioned.rs b/src/api/client_server/unversioned.rs index 7706afee..6ddc1327 100644 --- a/src/api/client_server/unversioned.rs +++ b/src/api/client_server/unversioned.rs @@ -27,7 +27,10 @@ pub async fn get_supported_versions_route( "v1.4".to_owned(), "v1.5".to_owned(), ], - unstable_features: BTreeMap::from_iter([("org.matrix.e2e_cross_signing".to_owned(), true)]), + unstable_features: BTreeMap::from_iter([ + ("org.matrix.e2e_cross_signing".to_owned(), true), + ("org.matrix.msc3916.stable".to_owned(), true), + ]), }; Ok(resp)