Fix spaces limit/max_depth bug in response.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jacob Taylor 2025-04-15 13:02:46 +00:00 committed by Jason Volk
parent 937c5fc86a
commit de7842b470

View file

@ -179,7 +179,7 @@ where
(next_short_room_ids.iter().ne(short_room_ids) && !next_short_room_ids.is_empty()) (next_short_room_ids.iter().ne(short_room_ids) && !next_short_room_ids.is_empty())
.then_some(PaginationToken { .then_some(PaginationToken {
short_room_ids: next_short_room_ids, 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()?, max_depth: max_depth.try_into().ok()?,
suggested_only, suggested_only,
}) })