mirror of
https://gitlab.com/famedly/conduit.git
synced 2025-01-19 04:30:10 +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(
|
create_event_content.insert(
|
||||||
"room_version".into(),
|
"room_version".into(),
|
||||||
|
Loading…
Reference in New Issue
Block a user