fix: Correctly send limited timelines again
This commit is contained in:
parent
3491f653a5
commit
72bf8e5927
4 changed files with 47 additions and 29 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue