@@ -176,7 +176,7 @@ async fn send_state_event_for_key_helper(
|
||||
.build_and_append_pdu(
|
||||
PduBuilder {
|
||||
event_type: event_type.to_string().into(),
|
||||
content: serde_json::from_str(json.json().get()).expect("content is valid json"),
|
||||
content: serde_json::from_str(json.json().get())?,
|
||||
unsigned: None,
|
||||
state_key: Some(state_key),
|
||||
redacts: None,
|
||||
|
||||
Reference in New Issue
Block a user