From de7842b47053d4235a3554923cbb6c7bc4640759 Mon Sep 17 00:00:00 2001 From: Jacob Taylor Date: Tue, 15 Apr 2025 13:02:46 +0000 Subject: [PATCH] Fix spaces limit/max_depth bug in response. Signed-off-by: Jason Volk --- src/api/client/space.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/client/space.rs b/src/api/client/space.rs index 4eee9d76..92768926 100644 --- a/src/api/client/space.rs +++ b/src/api/client/space.rs @@ -179,7 +179,7 @@ where (next_short_room_ids.iter().ne(short_room_ids) && !next_short_room_ids.is_empty()) .then_some(PaginationToken { short_room_ids: next_short_room_ids, - limit: max_depth.try_into().ok()?, + limit: limit.try_into().ok()?, max_depth: max_depth.try_into().ok()?, suggested_only, })