mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-01 17:24:10 +01:00
PDU check 5 should consult state before an event (#1070)
This commit is contained in:
parent
58f960e5cc
commit
c4e54509db
|
|
@ -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.
|
further.
|
||||||
4. Passes authorization rules based on the event's auth events,
|
4. Passes authorization rules based on the event's auth events,
|
||||||
otherwise it is rejected.
|
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.
|
otherwise it is rejected.
|
||||||
6. Passes authorization rules based on the current state of the room,
|
6. Passes authorization rules based on the current state of the room,
|
||||||
otherwise it is "soft failed".
|
otherwise it is "soft failed".
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue