PDU check 5 should consult state before an event (#1070)
This commit is contained in:
parent
58f960e5cc
commit
c4e54509db
2 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue