mirror of
https://forgejo.ellis.link/continuwuation/continuwuity/
synced 2026-10-23 11:22:25 +00:00
fix client hierarchy loop condition
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
1 parent
3e57b7d35d
commit
0e2009dbf5
1 file changed
-4
@@ -155,10 +155,6 @@ async fn get_client_hierarchy<'a, ShortRoomIds>(
|
||||
break;
|
||||
}
|
||||
|
||||
if children.is_empty() {
|
||||
break;
|
||||
}
|
||||
|
||||
if parents.len() > max_depth {
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user