fix: Correctly send limited timelines again

This commit is contained in:
Ginger
2025-10-22 13:06:33 -04:00
parent 3491f653a5
commit 72bf8e5927
4 changed files with 47 additions and 29 deletions
+2 -2
View File
@@ -243,7 +243,7 @@ impl Service {
self.pdus(Some(user_id), room_id, None).ignore_err()
}
/// Reverse iteration starting at from.
/// Reverse iteration starting after `until`.
#[tracing::instrument(skip(self), level = "debug")]
pub fn pdus_rev<'a>(
&'a self,
@@ -255,7 +255,7 @@ impl Service {
.pdus_rev(user_id, room_id, until.unwrap_or_else(PduCount::max))
}
/// Forward iteration starting at from.
/// Forward iteration starting after `from`.
#[tracing::instrument(skip(self), level = "debug")]
pub fn pdus<'a>(
&'a self,