Merge pull request #1084 from maxidor/max/ss/redaction-fix-inconsistencies

Use proper room event type for redaction
pull/1085/head
Richard van der Hoff 7 years ago committed by GitHub
commit 3b82b2ce09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -584,13 +584,13 @@ the state of the room.
#. Otherwise, allow. #. 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 #. If the ``sender``'s power level is greater than or equal to the *redact
level*, allow. level*, allow.
#. If the ``sender`` of the event being redacted is the same as the #. 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. #. Otherwise, reject.

Loading…
Cancel
Save