mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-02-03 07:10:01 -05:00
8afddf7afe
When we were authorizing an event, if there was no `m.room.create` in its auth_events, we would raise a SynapseError with a cryptic message, which then meant that we would bail out of processing any incoming events, rather than storing a rejection for the faulty event and moving on. We should treat the absent event the same as any other auth failure, by raising an AuthError, so that the event is marked as rejected.