Skip to main content

join_room

Function join_room 

Source
async fn join_room(
    state: ServerState,
    user_id: OwnedUserId,
    reason: Option<String>,
    room_id: OwnedRoomId,
    via: Vec<OwnedServerName>,
) -> Result<(), JoinRoomByIdError>
Expand description

Add a joined event to a room for the user, with the correct username and ID