Fix state for empty key route

Replace None with Some("") for state_key
This commit is contained in:
Devin Ragotzy 2020-08-25 15:30:25 -04:00
parent 27ffe77823
commit d9a29e3e5c
2 changed files with 2 additions and 2 deletions

View file

@ -195,7 +195,7 @@ pub fn create_room_route(
content: match preset {
create_room::RoomPreset::PublicChat => {
serde_json::to_value(guest_access::GuestAccessEventContent::new(
// In a public room a joining is the only way to access
// In a public room, joining is the only way to access
guest_access::GuestAccess::Forbidden,
))
.expect("event is valid, we just created it")