PDU check 5 should consult state before an event (#1070)

pull/1081/head
David Robertson 2 years ago committed by GitHub
parent 58f960e5cc
commit c4e54509db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1 @@
Clarify that checks on PDUs should refer to the state _before_ an event.

@ -364,7 +364,7 @@ server must ensure that the event:
further.
4. Passes authorization rules based on the event's auth events,
otherwise it is rejected.
5. Passes authorization rules based on the state at the event,
5. Passes authorization rules based on the state before the event,
otherwise it is rejected.
6. Passes authorization rules based on the current state of the room,
otherwise it is "soft failed".

Loading…
Cancel
Save