1
0
Fork 0
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:
nexy7574 2025-09-11 21:34:52 +01:00
parent 4446e96889
commit 344e1e7d76
No known key found for this signature in database

View file

@ -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"