From a8f9eb0ee350c52deb07b88747549d816c3ea8b3 Mon Sep 17 00:00:00 2001 From: Patrick Cloke Date: Tue, 8 Aug 2023 12:55:38 -0400 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> --- content/rooms/fragments/v11-redactions.md | 3 +-- data/event-schemas/schema/m.room.redaction.yaml | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/content/rooms/fragments/v11-redactions.md b/content/rooms/fragments/v11-redactions.md index 9cda80a2..1684efeb 100644 --- a/content/rooms/fragments/v11-redactions.md +++ b/content/rooms/fragments/v11-redactions.md @@ -2,8 +2,7 @@ --- {{% added-in this=true %}} The top-level `origin`, `membership`, and `prev_state` properties -are no longer protected from redaction. The `m.room.create` event no longer keeps the `creator` -property and now keeps the entire `content` property. The `m.room.redaction` event keeps the +are no longer protected from redaction. The `m.room.create` event now keeps the entire `content` property. The `m.room.redaction` event keeps the `redacts` property under `content`. The `m.room.power_levels` event keeps the `invite` property under `content`. diff --git a/data/event-schemas/schema/m.room.redaction.yaml b/data/event-schemas/schema/m.room.redaction.yaml index c34cf5c0..d68d9a3e 100644 --- a/data/event-schemas/schema/m.room.redaction.yaml +++ b/data/event-schemas/schema/m.room.redaction.yaml @@ -6,14 +6,14 @@ properties: content: properties: redacts: - description: The event ID that was redacted. Starting in room version 11. + description: The event ID that was redacted. Present starting in room version 11. type: string reason: description: 'The reason for the redaction, if any.' type: string type: object redacts: - description: The event ID that was redacted. For room versions 1 - 10. + description: Only present in room versions 1 - 10. The event ID that was redacted. type: string type: enum: