fixup! feat(federation): support /make_join and /send_join for restricted rooms

remove unnecessery clone
merge-requests/618/head
Matthias Ahouansou 6 days ago
parent 6565d3fa71
commit 96f3b88132
No known key found for this signature in database

@ -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…
Cancel
Save