mirror of
https://gitlab.com/famedly/conduit.git
synced 2024-12-28 04:54:22 +01:00
Remove "creator" key when upgrading rooms to v11
This commit is contained in:
parent
a3b8eea9b4
commit
18bfd79ef2
1 changed files with 4 additions and 1 deletions
|
@ -627,7 +627,10 @@ pub async fn upgrade_room_route(
|
|||
})?,
|
||||
);
|
||||
}
|
||||
_ => {} // V11 removed the "creator" key
|
||||
_ => {
|
||||
// "creator" key no longer exists in V11 rooms
|
||||
create_event_content.remove("creator");
|
||||
}
|
||||
}
|
||||
create_event_content.insert(
|
||||
"room_version".into(),
|
||||
|
|
Loading…
Reference in a new issue