We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22e23a2 commit af195eaCopy full SHA for af195ea
crates/matrix-sdk-ui/src/spaces/mod.rs
@@ -224,14 +224,14 @@ impl SpaceService {
224
// enforced backend side.
225
graph.remove_cycles();
226
227
- let root_notes = graph.root_nodes();
+ let root_nodes = graph.root_nodes();
228
229
joined_spaces
230
.iter()
231
.filter_map(|room| {
232
let room_id = room.room_id().to_owned();
233
234
- if root_notes.contains(&&room_id) {
+ if root_nodes.contains(&&room_id) {
235
Some(SpaceRoom::new_from_known(
236
room.clone(),
237
graph.children_of(&room_id).len() as u64,
0 commit comments