mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-17 15:51:23 +01:00
enable match_same_arms lint
This commit is contained in:
parent
4e6c8451ca
commit
2b8b5ccb1a
6 changed files with 5 additions and 7 deletions
|
|
@ -271,7 +271,7 @@ pub(crate) async fn create_room_route(
|
|||
let preset = body.preset.clone().unwrap_or(match &body.visibility {
|
||||
room::Visibility::Private => RoomPreset::PrivateChat,
|
||||
room::Visibility::Public => RoomPreset::PublicChat,
|
||||
_ => RoomPreset::PrivateChat, // Room visibility should not be custom
|
||||
_ => unimplemented!("unknown room visibility"),
|
||||
});
|
||||
|
||||
let mut users = BTreeMap::new();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue