mirror of
https://gitlab.com/famedly/conduit.git
synced 2025-01-18 20:20:09 +00:00
Remove "creator" key when upgrading rooms to v11
This commit is contained in:
parent
a3b8eea9b4
commit
18bfd79ef2
@ -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 New Issue
Block a user