Nyaaori
2022-12-21 10:42:12 +01:00
parent 7b98741163
commit c86313d4fa
15 changed files with 56 additions and 92 deletions

View File

@@ -361,7 +361,7 @@ pub(crate) async fn get_public_rooms_filtered_helper(
let prev_batch = if num_since == 0 {
None
} else {
Some(format!("p{}", num_since))
Some(format!("p{num_since}"))
};
let next_batch = if chunk.len() < limit as usize {