From 4128afaaebc1b25279ee16be996a5a529f220f04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Mon, 28 Mar 2022 18:35:33 +0200 Subject: [PATCH] fixup! events: Document transitional extensible events --- crates/ruma-common/src/events/sticker.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/crates/ruma-common/src/events/sticker.rs b/crates/ruma-common/src/events/sticker.rs index a79ab4f4..45a5f187 100644 --- a/crates/ruma-common/src/events/sticker.rs +++ b/crates/ruma-common/src/events/sticker.rs @@ -16,6 +16,11 @@ use crate::{events::room::ImageInfo, MxcUri}; /// The content of an `m.sticker` event. /// /// A sticker message. +/// +/// With the `unstable-msc3552` feature, this type also contains the transitional extensible events +/// format. See the documentation of the [`message`] module for more information. +/// +/// [`message`]: super::message #[derive(Clone, Debug, Deserialize, Serialize, EventContent)] #[cfg_attr(not(feature = "unstable-exhaustive-types"), non_exhaustive)] #[ruma_event(type = "m.sticker", kind = MessageLike)]