mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +00:00
fix(hydra): Restricted join -> join is allowed
This commit is contained in:
@@ -786,7 +786,9 @@ where
|
||||
false
|
||||
},
|
||||
| JoinRule::Restricted(_) | JoinRule::KnockRestricted(_) =>
|
||||
if !user_for_join_auth_is_valid {
|
||||
if !user_for_join_auth_is_valid
|
||||
&& sender_membership != MembershipState::Join
|
||||
{
|
||||
warn!(
|
||||
"Join rule is a restricted one but no valid authorising user \
|
||||
was given"
|
||||
|
||||
Reference in New Issue
Block a user