State-reset and security mitigations.
Upgrade Ruma to present. The following are intentionally benign for activation in a later commit: - Hydra backports not default. - Room version 12 not default. - Room version 12 not listed as stable. Do not enable them manually or you can brick your database. Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
@@ -64,17 +64,18 @@ pub(crate) async fn get_hierarchy_route(
|
||||
})
|
||||
.unzip()
|
||||
.map(|(children, inaccessible_children): (Vec<_>, Vec<_>)| {
|
||||
(
|
||||
children
|
||||
.into_iter()
|
||||
.flatten()
|
||||
.map(Into::into)
|
||||
.collect(),
|
||||
inaccessible_children
|
||||
.into_iter()
|
||||
.flatten()
|
||||
.collect(),
|
||||
)
|
||||
let children = children
|
||||
.into_iter()
|
||||
.flatten()
|
||||
.map(|parent| parent.summary)
|
||||
.collect();
|
||||
|
||||
let inaccessible_children = inaccessible_children
|
||||
.into_iter()
|
||||
.flatten()
|
||||
.collect();
|
||||
|
||||
(children, inaccessible_children)
|
||||
})
|
||||
.await;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user