feat(pdu): copy top level redact to content and vice versa
This commit is contained in:
parent
92817213d5
commit
7a7c09785e
4 changed files with 41 additions and 23 deletions
|
@ -671,7 +671,7 @@ pub async fn upgrade_room_route(
|
|||
// "creator" key no longer exists in V11 rooms
|
||||
create_event_content.remove("creator");
|
||||
}
|
||||
_ => unreachable!("Validity of room version already checked")
|
||||
_ => unreachable!("Validity of room version already checked"),
|
||||
}
|
||||
create_event_content.insert(
|
||||
"room_version".into(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue