Apply suggestions from code review

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
This commit is contained in:
Patrick Cloke 2023-08-08 12:55:38 -04:00 committed by GitHub
parent 70985a7068
commit a8f9eb0ee3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View file

@ -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`.

View file

@ -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: