Browse Source

chore(/versions): declare support for matrix <= v1.12

this is required for Element-* to actually use the authenticated media endpoints
merge-requests/762/head
Matthias Ahouansou 10 months ago
parent
commit
1fc82477c5
No known key found for this signature in database
  1. 7
      src/api/client_server/unversioned.rs

7
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),

Loading…
Cancel
Save