diff --git a/crates/ruma-client-api/CHANGELOG.md b/crates/ruma-client-api/CHANGELOG.md index a0949dc2..0fd6df44 100644 --- a/crates/ruma-client-api/CHANGELOG.md +++ b/crates/ruma-client-api/CHANGELOG.md @@ -45,6 +45,7 @@ Improvements: * The `session::sso_login_with_provider::v3` endpoint * Move reason support for leaving room out of `unstable-pre-spec` * Move room type support out of `unstable-pre-spec` +* Move knocking support out of `unstable-pre-spec` # 0.12.3 diff --git a/crates/ruma-client-api/src/r0/sync/sync_events.rs b/crates/ruma-client-api/src/r0/sync/sync_events.rs index 88bfcf85..3dbb482a 100644 --- a/crates/ruma-client-api/src/r0/sync/sync_events.rs +++ b/crates/ruma-client-api/src/r0/sync/sync_events.rs @@ -181,7 +181,6 @@ pub struct Rooms { pub invite: BTreeMap, InvitedRoom>, /// The rooms that the user has knocked on. - #[cfg(feature = "unstable-pre-spec")] #[serde(default, skip_serializing_if = "BTreeMap::is_empty")] pub knock: BTreeMap, KnockedRoom>, } @@ -279,7 +278,6 @@ impl JoinedRoom { /// Updates to knocked rooms. #[derive(Clone, Debug, Default, Deserialize, Serialize)] -#[cfg(feature = "unstable-pre-spec")] #[cfg_attr(not(feature = "unstable-exhaustive-types"), non_exhaustive)] pub struct KnockedRoom { /// The knock state. @@ -288,7 +286,6 @@ pub struct KnockedRoom { /// A mapping from a key `events` to a list of `StrippedStateEvent`. #[derive(Clone, Debug, Default, Deserialize, Serialize)] -#[cfg(feature = "unstable-pre-spec")] #[cfg_attr(not(feature = "unstable-exhaustive-types"), non_exhaustive)] pub struct KnockState { /// The list of events.