mirror of
https://gitlab.com/famedly/conduit.git
synced 2024-12-29 10:04:33 +01:00
Fix state for empty key route
Replace None with Some("") for state_key
This commit is contained in:
parent
27ffe77823
commit
d9a29e3e5c
2 changed files with 2 additions and 2 deletions
|
@ -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")
|
||||
|
|
|
@ -76,7 +76,7 @@ pub fn send_state_event_for_empty_key_route(
|
|||
&body.content,
|
||||
json,
|
||||
&body.room_id,
|
||||
None,
|
||||
Some("".into()),
|
||||
)?
|
||||
.0
|
||||
.event_id,
|
||||
|
|
Loading…
Reference in a new issue