Skip to content

Commit af195ea

Browse files
committed
chore(spaces): fix typo
1 parent 22e23a2 commit af195ea

File tree

1 file changed

+2
-2
lines changed
  • crates/matrix-sdk-ui/src/spaces

1 file changed

+2
-2
lines changed

crates/matrix-sdk-ui/src/spaces/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,14 +224,14 @@ impl SpaceService {
224224
// enforced backend side.
225225
graph.remove_cycles();
226226

227-
let root_notes = graph.root_nodes();
227+
let root_nodes = graph.root_nodes();
228228

229229
joined_spaces
230230
.iter()
231231
.filter_map(|room| {
232232
let room_id = room.room_id().to_owned();
233233

234-
if root_notes.contains(&&room_id) {
234+
if root_nodes.contains(&&room_id) {
235235
Some(SpaceRoom::new_from_known(
236236
room.clone(),
237237
graph.children_of(&room_id).len() as u64,

0 commit comments

Comments
 (0)