remove unnecessary match arm for space invite join_rule
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
8fab2cd94a
commit
27d83a51f2
1 changed files with 2 additions and 3 deletions
|
@ -734,9 +734,8 @@ fn is_accessable_child_recurse(
|
|||
false
|
||||
},
|
||||
SpaceRoomJoinRule::Public | SpaceRoomJoinRule::Knock => true,
|
||||
#[allow(clippy::match_same_arms)]
|
||||
SpaceRoomJoinRule::Invite | SpaceRoomJoinRule::Private => false,
|
||||
// Custom join rule
|
||||
// SpaceRoomJoinRule::Invite | SpaceRoomJoinRule::Private => false,
|
||||
// Custom join rules, Invites, or Private
|
||||
_ => false,
|
||||
})
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue