Richard van der Hoff 8afddf7afe Fix error handling for missing auth_event
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.
2018-09-26 14:40:16 +01:00
..
2018-09-06 00:10:47 +10:00
2018-09-20 17:05:34 +01:00
2018-09-13 11:51:12 -06:00
2018-09-25 02:54:34 +10:00
2018-09-19 11:19:47 +01:00
2018-09-25 10:43:39 +01:00
2018-08-28 17:10:43 +01:00