feat(#1102): add list_invites and join_room to matrix MCP

This commit is contained in:
damocles 2026-06-03 01:10:42 +02:00
commit 7e5a21522a
4 changed files with 85 additions and 3 deletions

View file

@ -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,
}