docs: Fix links for v1.7
This commit is contained in:
parent
dc68190adc
commit
5f20a3292c
@ -197,7 +197,7 @@ impl ReferenceChunk {
|
||||
|
||||
/// [Bundled aggregations] of related child events of a message-like event.
|
||||
///
|
||||
/// [Bundled aggregations]: https://spec.matrix.org/latest/client-server-api/#aggregations
|
||||
/// [Bundled aggregations]: https://spec.matrix.org/latest/client-server-api/#aggregations-of-child-events
|
||||
#[derive(Clone, Debug, Serialize)]
|
||||
#[cfg_attr(not(feature = "unstable-exhaustive-types"), non_exhaustive)]
|
||||
pub struct BundledMessageLikeRelations<E> {
|
||||
@ -258,7 +258,7 @@ impl<E> Default for BundledMessageLikeRelations<E> {
|
||||
|
||||
/// [Bundled aggregations] of related child events of a state event.
|
||||
///
|
||||
/// [Bundled aggregations]: https://spec.matrix.org/latest/client-server-api/#aggregations
|
||||
/// [Bundled aggregations]: https://spec.matrix.org/latest/client-server-api/#aggregations-of-child-events
|
||||
#[derive(Clone, Debug, Default, Deserialize, Serialize)]
|
||||
#[cfg_attr(not(feature = "unstable-exhaustive-types"), non_exhaustive)]
|
||||
pub struct BundledStateRelations {
|
||||
|
@ -506,7 +506,7 @@ pub struct RoomMemberUnsigned {
|
||||
|
||||
/// [Bundled aggregations] of related child events.
|
||||
///
|
||||
/// [Bundled aggregations]: https://spec.matrix.org/latest/client-server-api/#aggregations
|
||||
/// [Bundled aggregations]: https://spec.matrix.org/latest/client-server-api/#aggregations-of-child-events
|
||||
#[serde(rename = "m.relations", default)]
|
||||
pub relations: BundledStateRelations,
|
||||
}
|
||||
|
@ -317,7 +317,7 @@ pub struct RoomRedactionUnsigned {
|
||||
|
||||
/// [Bundled aggregations] of related child events.
|
||||
///
|
||||
/// [Bundled aggregations]: https://spec.matrix.org/latest/client-server-api/#aggregations
|
||||
/// [Bundled aggregations]: https://spec.matrix.org/latest/client-server-api/#aggregations-of-child-events
|
||||
#[serde(rename = "m.relations", default)]
|
||||
pub relations: BundledMessageLikeRelations<OriginalSyncRoomRedactionEvent>,
|
||||
}
|
||||
|
@ -28,7 +28,7 @@ pub struct MessageLikeUnsigned<C: MessageLikeEventContent> {
|
||||
|
||||
/// [Bundled aggregations] of related child events.
|
||||
///
|
||||
/// [Bundled aggregations]: https://spec.matrix.org/latest/client-server-api/#aggregations
|
||||
/// [Bundled aggregations]: https://spec.matrix.org/latest/client-server-api/#aggregations-of-child-events
|
||||
#[serde(rename = "m.relations", default)]
|
||||
pub relations: BundledMessageLikeRelations<OriginalSyncMessageLikeEvent<C>>,
|
||||
}
|
||||
@ -77,7 +77,7 @@ pub struct StateUnsigned<C: PossiblyRedactedStateEventContent> {
|
||||
|
||||
/// [Bundled aggregations] of related child events.
|
||||
///
|
||||
/// [Bundled aggregations]: https://spec.matrix.org/latest/client-server-api/#aggregations
|
||||
/// [Bundled aggregations]: https://spec.matrix.org/latest/client-server-api/#aggregations-of-child-events
|
||||
#[serde(rename = "m.relations", default)]
|
||||
pub relations: BundledStateRelations,
|
||||
}
|
||||
|
@ -33,7 +33,7 @@ use super::ServerName;
|
||||
/// );
|
||||
/// ```
|
||||
///
|
||||
/// [event ID]: https://spec.matrix.org/latest/appendices/#room-ids-and-event-ids
|
||||
/// [event ID]: https://spec.matrix.org/latest/appendices/#event-ids
|
||||
/// [room versions]: https://spec.matrix.org/latest/rooms/#complete-list-of-room-versions
|
||||
#[repr(transparent)]
|
||||
#[derive(PartialEq, Eq, PartialOrd, Ord, Hash, IdZst)]
|
||||
|
@ -16,7 +16,7 @@ use super::{
|
||||
/// assert_eq!(<&RoomId>::try_from("!n8f893n9:example.com").unwrap(), "!n8f893n9:example.com");
|
||||
/// ```
|
||||
///
|
||||
/// [room ID]: https://spec.matrix.org/latest/appendices/#room-ids-and-event-ids
|
||||
/// [room ID]: https://spec.matrix.org/latest/appendices/#room-ids
|
||||
#[repr(transparent)]
|
||||
#[derive(PartialEq, Eq, PartialOrd, Ord, Hash, IdZst)]
|
||||
#[ruma_id(validate = ruma_identifiers_validation::room_id::validate)]
|
||||
|
@ -22,7 +22,7 @@ use super::{server_name::ServerName, OwnedRoomAliasId, OwnedRoomId, RoomAliasId,
|
||||
/// );
|
||||
/// ```
|
||||
///
|
||||
/// [room ID]: https://spec.matrix.org/latest/appendices/#room-ids-and-event-ids
|
||||
/// [room ID]: https://spec.matrix.org/latest/appendices/#room-ids
|
||||
/// [room alias ID]: https://spec.matrix.org/latest/appendices/#room-aliases
|
||||
#[repr(transparent)]
|
||||
#[derive(PartialEq, Eq, PartialOrd, Ord, Hash, IdZst)]
|
||||
|
Loading…
x
Reference in New Issue
Block a user