mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-09-30 18:42:05 +00:00
fix(hydra): Restricted join -> join is allowed
This commit is contained in:
parent
4446e96889
commit
344e1e7d76
1 changed files with 3 additions and 1 deletions
|
@ -786,7 +786,9 @@ where
|
||||||
false
|
false
|
||||||
},
|
},
|
||||||
| JoinRule::Restricted(_) | JoinRule::KnockRestricted(_) =>
|
| JoinRule::Restricted(_) | JoinRule::KnockRestricted(_) =>
|
||||||
if !user_for_join_auth_is_valid {
|
if !user_for_join_auth_is_valid
|
||||||
|
&& sender_membership != MembershipState::Join
|
||||||
|
{
|
||||||
warn!(
|
warn!(
|
||||||
"Join rule is a restricted one but no valid authorising user \
|
"Join rule is a restricted one but no valid authorising user \
|
||||||
was given"
|
was given"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue