pub(super) async fn check_room_member<Fetch, Fut, Pdu>(
room_member_event: &RoomMemberEvent<Pdu>,
rules: &AuthorizationRules,
room_create_event: &RoomCreateEvent<Pdu>,
fetch_state: &Fetch,
) -> ResultExpand description
Check whether the given event passes the m.room.member authorization
rules.
This assumes that ruma_signatures::verify_event() was called previously,
as some authorization rules depend on the signatures being valid on the
event.