remove unnecessary match arm for space invite join_rule

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-03-22 23:31:46 -04:00 committed by June
parent 8fab2cd94a
commit 27d83a51f2

View file

@ -734,9 +734,8 @@ fn is_accessable_child_recurse(
false false
}, },
SpaceRoomJoinRule::Public | SpaceRoomJoinRule::Knock => true, SpaceRoomJoinRule::Public | SpaceRoomJoinRule::Knock => true,
#[allow(clippy::match_same_arms)] // SpaceRoomJoinRule::Invite | SpaceRoomJoinRule::Private => false,
SpaceRoomJoinRule::Invite | SpaceRoomJoinRule::Private => false, // Custom join rules, Invites, or Private
// Custom join rule
_ => false, _ => false,
}) })
} else { } else {