events: Fix outdated docs

This commit is contained in:
Kévin Commaille 2023-06-18 09:59:05 +02:00 committed by Kévin Commaille
parent c5782ab8aa
commit 09bc835936

View File

@ -60,9 +60,9 @@ pub struct RoomMessageEventContent {
#[serde(flatten)]
pub msgtype: MessageType,
/// Information about related messages for [rich replies].
/// Information about [related messages].
///
/// [rich replies]: https://spec.matrix.org/latest/client-server-api/#rich-replies
/// [related messages]: https://spec.matrix.org/latest/client-server-api/#forming-relationships-between-events
#[serde(flatten, skip_serializing_if = "Option::is_none")]
pub relates_to: Option<Relation<MessageType>>,
}