From 1fc82477c5166cea244f124056961323c8ba5a07 Mon Sep 17 00:00:00 2001 From: Matthias Ahouansou Date: Mon, 12 May 2025 19:18:42 +0100 Subject: [PATCH] chore(/versions): declare support for matrix <= v1.12 this is required for Element-* to actually use the authenticated media endpoints --- src/api/client_server/unversioned.rs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/api/client_server/unversioned.rs b/src/api/client_server/unversioned.rs index 8f060b30..1c7018ba 100644 --- a/src/api/client_server/unversioned.rs +++ b/src/api/client_server/unversioned.rs @@ -26,6 +26,13 @@ pub async fn get_supported_versions_route( "v1.3".to_owned(), "v1.4".to_owned(), "v1.5".to_owned(), + "v1.6".to_owned(), + "v1.7".to_owned(), + "v1.8".to_owned(), + "v1.9".to_owned(), + "v1.10".to_owned(), + "v1.11".to_owned(), // Needed for Element-* to use authenticated media endpoints + "v1.12".to_owned(), // Clarifies that guests can use auth media, which Element-* might depend on support being declared ], unstable_features: BTreeMap::from_iter([ ("org.matrix.e2e_cross_signing".to_owned(), true),