feat(#2479): add from/until event-id cursors to read_room
This commit is contained in:
parent
d90504b427
commit
001b1dae37
4 changed files with 189 additions and 46 deletions
|
|
@ -126,7 +126,12 @@ async fn dispatch_op(op: DaemonOp, client: &Client) -> DaemonResponse {
|
|||
handlers::invite_user(client, &room, &user_id).await
|
||||
}
|
||||
DaemonOp::ListRoomMembers { room } => handlers::list_room_members(client, &room).await,
|
||||
DaemonOp::ReadRoom { room, limit } => handlers::read_room(client, &room, limit).await,
|
||||
DaemonOp::ReadRoom {
|
||||
room,
|
||||
limit,
|
||||
from,
|
||||
until,
|
||||
} => handlers::read_room(client, &room, limit, from, until).await,
|
||||
DaemonOp::DownloadFile {
|
||||
room,
|
||||
event_id,
|
||||
|
|
|
|||
Loading…
Reference in a new issue