chore: Make all applicable spec links use the latest spec instead of a specific version

This commit is contained in:
Kévin Commaille
2023-02-10 12:42:32 +01:00
committed by Kévin Commaille
parent 9194c60f4a
commit f159776f52
308 changed files with 395 additions and 395 deletions

View File

@@ -143,7 +143,7 @@ pub fn auth_check<E: Event>(
let sender = incoming_event.sender();
// Implementation of https://spec.matrix.org/v1.4/rooms/v1/#authorization-rules
// Implementation of https://spec.matrix.org/latest/rooms/v1/#authorization-rules
//
// 1. If type is m.room.create:
if *incoming_event.event_type() == TimelineEventType::RoomCreate {

View File

@@ -60,7 +60,7 @@ pub struct RoomVersion {
pub extra_redaction_checks: bool,
/// Allow knocking in event authentication.
///
/// See [room v7 specification](https://spec.matrix.org/v1.4/rooms/v7/) for more information.
/// See [room v7 specification](https://spec.matrix.org/latest/rooms/v7/) for more information.
pub allow_knocking: bool,
/// Adds support for the restricted join rule.
///