fix: Declare support for msc3827
Not doing so causes recent matrix-react-sdk versions to set room_types to null instead of omitting, which is against spec and results in ruma throwing an error, resulting in room listings being entirely unavailable for users of element-web and other matrix-react-sdk based clients We also pass room_types over federation already, not declaring support means compliant clients will not make use of said feature.
This commit is contained in:
parent
4b737b46ac
commit
a2cffa9da3
1 changed files with 4 additions and 1 deletions
|
@ -24,7 +24,10 @@ pub async fn get_supported_versions_route(
|
|||
"v1.1".to_owned(),
|
||||
"v1.2".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.msc3827.stable".to_owned(), true),
|
||||
]),
|
||||
};
|
||||
|
||||
Ok(resp)
|
||||
|
|
Loading…
Reference in a new issue