Remove "creator" key when upgrading rooms to v11

This commit is contained in:
Val Lorentz 2023-12-01 18:15:20 +01:00
parent a3b8eea9b4
commit 18bfd79ef2

View file

@ -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(),