Skip to main content

get_mutual_rooms_route

Function get_mutual_rooms_route 

Source
pub(crate) async fn get_mutual_rooms_route(
    __arg0: State<State>,
    __arg1: ClientIp,
    body: Args<Request>,
) -> Result<Response>
Expand description

ยงGET /_matrix/client/unstable/uk.half-shot.msc2666/user/mutual_rooms

Gets all the rooms the sender shares with the specified user.

TODO: Implement pagination, currently this just returns everything

An implementation of MSC2666