Cargo lock update and a few doc additions

This commit is contained in:
Devin Ragotzy 2020-08-21 20:18:56 -04:00
parent fe795d38ea
commit 672bf4f473
4 changed files with 14 additions and 17 deletions

View file

@ -195,6 +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
guest_access::GuestAccess::Forbidden,
))
.expect("event is valid, we just created it")