client-api: Use Raw in create_room::Request's initial_state field
This commit is contained in:
parent
fbe038ff7a
commit
28de60a90a
@ -1,5 +1,10 @@
|
|||||||
# [unreleased]
|
# [unreleased]
|
||||||
|
|
||||||
|
Breaking changes:
|
||||||
|
|
||||||
|
* Use `Raw<AnyInitialStateEvent>` over just `AnyInitialStateEvent` in the `initial_state` field
|
||||||
|
of `r0::room::create_room::Request`
|
||||||
|
|
||||||
# 0.10.2
|
# 0.10.2
|
||||||
|
|
||||||
Bug fixes:
|
Bug fixes:
|
||||||
|
@ -39,7 +39,7 @@ ruma_api! {
|
|||||||
/// Takes precedence over events set by preset, but gets overridden by
|
/// Takes precedence over events set by preset, but gets overridden by
|
||||||
/// name and topic keys.
|
/// name and topic keys.
|
||||||
#[serde(default, skip_serializing_if = "<[_]>::is_empty")]
|
#[serde(default, skip_serializing_if = "<[_]>::is_empty")]
|
||||||
pub initial_state: &'a [AnyInitialStateEvent],
|
pub initial_state: &'a [Raw<AnyInitialStateEvent>],
|
||||||
|
|
||||||
/// A list of user IDs to invite to the room.
|
/// A list of user IDs to invite to the room.
|
||||||
///
|
///
|
||||||
|
Loading…
x
Reference in New Issue
Block a user