Use proper room event type for redaction

This commit is contained in:
Maxime Dor 2017-11-21 20:29:18 +01:00
parent 57e5e1e331
commit e8af5622a7

View file

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