mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-15 13:16:56 +00:00
optional arguments for timeline pdus iterations
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
1 parent
13ef6dcbcf
commit
1f2e939fd5
6 files changed
+26
-21
No files matched your search
@@ -100,14 +100,14 @@ pub(crate) async fn get_message_events_route(
|
||||
Direction::Forward => services
|
||||
.rooms
|
||||
.timeline
|
||||
.pdus(sender_user, room_id, from)
|
||||
.pdus(Some(sender_user), room_id, Some(from))
|
||||
.await?
|
||||
.boxed(),
|
||||
|
||||
Direction::Backward => services
|
||||
.rooms
|
||||
.timeline
|
||||
.pdus_rev(sender_user, room_id, from)
|
||||
.pdus_rev(Some(sender_user), room_id, Some(from))
|
||||
.await?
|
||||
.boxed(),
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user