diff --git a/crates/ruma-client-api/CHANGELOG.md b/crates/ruma-client-api/CHANGELOG.md index 89cdd7cb..d10846a1 100644 --- a/crates/ruma-client-api/CHANGELOG.md +++ b/crates/ruma-client-api/CHANGELOG.md @@ -1,5 +1,10 @@ # [unreleased] +Breaking changes: + +* Use `Raw` over just `AnyInitialStateEvent` in the `initial_state` field + of `r0::room::create_room::Request` + # 0.10.2 Bug fixes: diff --git a/crates/ruma-client-api/src/r0/room/create_room.rs b/crates/ruma-client-api/src/r0/room/create_room.rs index 8b418ad1..c09d09a2 100644 --- a/crates/ruma-client-api/src/r0/room/create_room.rs +++ b/crates/ruma-client-api/src/r0/room/create_room.rs @@ -39,7 +39,7 @@ ruma_api! { /// Takes precedence over events set by preset, but gets overridden by /// name and topic keys. #[serde(default, skip_serializing_if = "<[_]>::is_empty")] - pub initial_state: &'a [AnyInitialStateEvent], + pub initial_state: &'a [Raw], /// A list of user IDs to invite to the room. ///