make pdu batch tokens zeroith-indexed
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
f36757027e
commit
e507c31306
9 changed files with 67 additions and 52 deletions
|
@ -51,7 +51,7 @@ pub(crate) async fn get_backfill_route(
|
|||
let pdus = services
|
||||
.rooms
|
||||
.timeline
|
||||
.pdus_until(user_id!("@doesntmatter:conduit.rs"), &body.room_id, until)
|
||||
.pdus_rev(user_id!("@doesntmatter:conduit.rs"), &body.room_id, until)
|
||||
.await?
|
||||
.take(limit)
|
||||
.filter_map(|(_, pdu)| async move {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue