From e8af5622a7485fd33b8abe3ef5d08effbdda068b Mon Sep 17 00:00:00 2001 From: Maxime Dor Date: Tue, 21 Nov 2017 20:29:18 +0100 Subject: [PATCH] Use proper room event type for redaction --- specification/server_server_api.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/server_server_api.rst b/specification/server_server_api.rst index 2c84c1b1..761f45ed 100644 --- a/specification/server_server_api.rst +++ b/specification/server_server_api.rst @@ -584,13 +584,13 @@ the state of the room. #. Otherwise, allow. -#. If type is ``m.room.redact``: +#. If type is ``m.room.redaction``: #. If the ``sender``'s power level is greater than or equal to the *redact level*, allow. #. If the ``sender`` of the event being redacted is the same as the - ``sender`` of the ``m.room.redact``, allow. + ``sender`` of the ``m.room.redaction``, allow. #. Otherwise, reject.