diff --git a/crates/ruma-common/CHANGELOG.md b/crates/ruma-common/CHANGELOG.md index 340bfbd9..0f6a57be 100644 --- a/crates/ruma-common/CHANGELOG.md +++ b/crates/ruma-common/CHANGELOG.md @@ -11,6 +11,7 @@ Improvements: * Add `MatrixVersion::V1_4` * Stabilize default room server ACL push rule * Stabilize `room_types` in `directory::Filter` and `room_type` in `directory::PublicRoomsChunk` +* Stabilize support for private read receipts # 0.10.3 diff --git a/crates/ruma-common/Cargo.toml b/crates/ruma-common/Cargo.toml index fa154293..3cd2ad14 100644 --- a/crates/ruma-common/Cargo.toml +++ b/crates/ruma-common/Cargo.toml @@ -32,7 +32,6 @@ markdown = ["pulldown-cmark"] rand = ["dep:rand_crate", "dep:uuid"] unstable-exhaustive-types = [] unstable-msc1767 = [] -unstable-msc2285 = [] unstable-msc2448 = [] unstable-msc2676 = [] unstable-msc2677 = [] diff --git a/crates/ruma-common/src/events/receipt.rs b/crates/ruma-common/src/events/receipt.rs index 055f6314..c350adfc 100644 --- a/crates/ruma-common/src/events/receipt.rs +++ b/crates/ruma-common/src/events/receipt.rs @@ -67,7 +67,7 @@ pub enum ReceiptType { /// If both `Read` and `ReadPrivate` are present, the one that references /// the most recent event is used to get the latest read receipt. /// - /// [public read receipt]: https://spec.matrix.org/v1.3/client-server-api/#receipts + /// [public read receipt]: https://spec.matrix.org/v1.4/client-server-api/#receipts #[ruma_enum(rename = "m.read")] Read, @@ -82,9 +82,8 @@ pub enum ReceiptType { /// If both `Read` and `ReadPrivate` are present, the one that references /// the most recent event is used to get the latest read receipt. /// - /// [private read receipt]: https://github.com/matrix-org/matrix-spec-proposals/pull/2285 - #[cfg(feature = "unstable-msc2285")] - #[ruma_enum(rename = "org.matrix.msc2285.read.private", alias = "m.read.private")] + /// [private read receipt]: https://spec.matrix.org/v1.4/client-server-api/#private-read-receipts + #[ruma_enum(rename = "m.read.private")] ReadPrivate, #[doc(hidden)] diff --git a/crates/ruma/Cargo.toml b/crates/ruma/Cargo.toml index 3d067633..317d8727 100644 --- a/crates/ruma/Cargo.toml +++ b/crates/ruma/Cargo.toml @@ -119,7 +119,6 @@ unstable-extensible-events = [ ] unstable-msc1767 = ["ruma-common/unstable-msc1767"] unstable-msc2246 = ["ruma-client-api?/unstable-msc2246"] -unstable-msc2285 = ["ruma-common/unstable-msc2285"] unstable-msc2448 = [ "ruma-client-api?/unstable-msc2448", "ruma-common/unstable-msc2448", @@ -168,7 +167,6 @@ __ci = [ "unstable-unspecified", "unstable-sanitize", "unstable-msc1767", - "unstable-msc2285", "unstable-msc2448", "unstable-msc2666", "unstable-msc2654",