From be353115594b3572fc07c8f8b5d40e57b6c161fb Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Wed, 20 May 2020 20:28:27 -0600 Subject: [PATCH] s/should/must for redaction algorithm This feels like it was a mistake some time ago considering the redaction algorithm is used in very strict algorithms like event signing. --- specification/rooms/v1.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/rooms/v1.rst b/specification/rooms/v1.rst index 23d8a833..9282c1f3 100644 --- a/specification/rooms/v1.rst +++ b/specification/rooms/v1.rst @@ -31,7 +31,7 @@ implementation. Redactions ~~~~~~~~~~ -Upon receipt of a redaction event, the server should strip off any keys not in +Upon receipt of a redaction event, the server must strip off any keys not in the following list: - ``event_id`` @@ -54,7 +54,7 @@ the following list: Some of the keys, such as ``hashes``, will appear on the federation-formatted event and therefore the client may not be aware of them. -The content object should also be stripped of all keys, unless it is one of +The content object must also be stripped of all keys, unless it is one of one of the following event types: - ``m.room.member`` allows key ``membership``.