synapse/changelog.d/13087.bugfix
Richard van der Hoff e16ea87d0f
Fix inconsistencies in event validation for m.room.create events (#13087)
* Extend the auth rule checks for `m.room.create` events

... and move them up to the top of the function. Since the no auth_events are
allowed for m.room.create events, we may as well get the m.room.create event
checks out of the way first.

* Add a test for create events with prev_events
2022-06-17 13:56:46 +00:00

2 lines
59 B
Plaintext

Fix some inconsistencies in the event authentication code.