PDU check 5 should consult state before an event

This commit is contained in:
David Robertson 2022-05-18 12:51:19 +01:00
parent 573dbb3b74
commit 1e5d94e796
No known key found for this signature in database
GPG key ID: 903ECE108A39DEDD

View file

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