async fn invite_allowed( services: &Services, sender_user: &UserId, invitee: &UserId, ) -> bool
Gate an invitee against the sender’s ignore list, the recipient’s ignore list, and MSC4380 m.invite_permission_config.
m.invite_permission_config