fixup! feat(federation): support /make_join and /send_join for restricted rooms
remove unnecessery clone
This commit is contained in:
parent
6565d3fa71
commit
96f3b88132
1 changed files with 1 additions and 1 deletions
|
@ -1784,7 +1784,7 @@ async fn create_join_event(
|
|||
.collect(),
|
||||
// Event field is required if the room version supports restricted join rules.
|
||||
event: Some(
|
||||
to_raw_value(&CanonicalJsonValue::Object(value.clone()))
|
||||
to_raw_value(&CanonicalJsonValue::Object(value))
|
||||
.expect("To raw json should not fail since only change was adding signature"),
|
||||
),
|
||||
})
|
||||
|
|
Loading…
Add table
Reference in a new issue