feat(#1102): add list_invites and join_room to matrix MCP
This commit is contained in:
parent
b13a6911b7
commit
7e5a21522a
4 changed files with 85 additions and 3 deletions
|
|
@ -79,6 +79,8 @@ async fn dispatch(req: DaemonRequest, client: &Client) -> DaemonResponse {
|
|||
handlers::mark_read(client, &room, &event_id).await
|
||||
}
|
||||
DaemonRequest::ListRooms => handlers::list_rooms(client).await,
|
||||
DaemonRequest::ListInvites => handlers::list_invites(client).await,
|
||||
DaemonRequest::JoinRoom { room } => handlers::join_room(client, &room).await,
|
||||
DaemonRequest::ListRoomMembers { room } => handlers::list_room_members(client, &room).await,
|
||||
DaemonRequest::ReadRoom { room, limit } => handlers::read_room(client, &room, limit).await,
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue