Fix off-by-one error when fetching room hierarchy

This commit is contained in:
Ginger 2025-03-28 12:22:23 -04:00
parent 33c5afe050
commit 13fecd497b

View file

@ -159,7 +159,7 @@ where
break;
}
if parents.len() >= max_depth {
if parents.len() > max_depth {
continue;
}