Skip to main content

user_can_perform_restricted_join

Function user_can_perform_restricted_join 

Source
pub(crate) async fn user_can_perform_restricted_join(
    services: &Services,
    user_id: &UserId,
    room_id: &RoomId,
    room_version_id: &RoomVersionId,
) -> Result<bool>
Expand description

Checks whether the given user can join the given room via a restricted join.