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
|
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 {
|
||||||
|
|
Loading…
Add table
Reference in a new issue