events: Stabilize support for private read receipts

This commit is contained in:
Kévin Commaille 2022-10-01 00:31:30 +02:00 committed by Kévin Commaille
parent 489820303e
commit c141b7deb5
4 changed files with 4 additions and 7 deletions

View File

@ -11,6 +11,7 @@ Improvements:
* Add `MatrixVersion::V1_4` * Add `MatrixVersion::V1_4`
* Stabilize default room server ACL push rule * Stabilize default room server ACL push rule
* Stabilize `room_types` in `directory::Filter` and `room_type` in `directory::PublicRoomsChunk` * Stabilize `room_types` in `directory::Filter` and `room_type` in `directory::PublicRoomsChunk`
* Stabilize support for private read receipts
# 0.10.3 # 0.10.3

View File

@ -32,7 +32,6 @@ markdown = ["pulldown-cmark"]
rand = ["dep:rand_crate", "dep:uuid"] rand = ["dep:rand_crate", "dep:uuid"]
unstable-exhaustive-types = [] unstable-exhaustive-types = []
unstable-msc1767 = [] unstable-msc1767 = []
unstable-msc2285 = []
unstable-msc2448 = [] unstable-msc2448 = []
unstable-msc2676 = [] unstable-msc2676 = []
unstable-msc2677 = [] unstable-msc2677 = []

View File

@ -67,7 +67,7 @@ pub enum ReceiptType {
/// If both `Read` and `ReadPrivate` are present, the one that references /// If both `Read` and `ReadPrivate` are present, the one that references
/// the most recent event is used to get the latest read receipt. /// 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")] #[ruma_enum(rename = "m.read")]
Read, Read,
@ -82,9 +82,8 @@ pub enum ReceiptType {
/// If both `Read` and `ReadPrivate` are present, the one that references /// If both `Read` and `ReadPrivate` are present, the one that references
/// the most recent event is used to get the latest read receipt. /// 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 /// [private read receipt]: https://spec.matrix.org/v1.4/client-server-api/#private-read-receipts
#[cfg(feature = "unstable-msc2285")] #[ruma_enum(rename = "m.read.private")]
#[ruma_enum(rename = "org.matrix.msc2285.read.private", alias = "m.read.private")]
ReadPrivate, ReadPrivate,
#[doc(hidden)] #[doc(hidden)]

View File

@ -119,7 +119,6 @@ unstable-extensible-events = [
] ]
unstable-msc1767 = ["ruma-common/unstable-msc1767"] unstable-msc1767 = ["ruma-common/unstable-msc1767"]
unstable-msc2246 = ["ruma-client-api?/unstable-msc2246"] unstable-msc2246 = ["ruma-client-api?/unstable-msc2246"]
unstable-msc2285 = ["ruma-common/unstable-msc2285"]
unstable-msc2448 = [ unstable-msc2448 = [
"ruma-client-api?/unstable-msc2448", "ruma-client-api?/unstable-msc2448",
"ruma-common/unstable-msc2448", "ruma-common/unstable-msc2448",
@ -168,7 +167,6 @@ __ci = [
"unstable-unspecified", "unstable-unspecified",
"unstable-sanitize", "unstable-sanitize",
"unstable-msc1767", "unstable-msc1767",
"unstable-msc2285",
"unstable-msc2448", "unstable-msc2448",
"unstable-msc2666", "unstable-msc2666",
"unstable-msc2654", "unstable-msc2654",