| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
Python 3 doesn't support comparing None to ints
|
| |
|
|
|
|
|
|
|
| |
Make it so that, before there is a power-levels event in the room, you need a
power level of at least 50 to send state.
Partially addresses https://github.com/matrix-org/matrix-doc/issues/1192
|
|
|
|
|
| |
stop pretending that it returns a boolean, which just almost gave me a heart
attack.
|
|
|
|
| |
it makes it easier for me to reason about
|
|
|
|
| |
they're not meant to be lazy (#3307)
|
|
|
|
|
| |
Fixes https://github.com/matrix-org/synapse/issues/2759
Signed-off-by: Travis Ralston <travpc@gmail.com>
|
|
|
|
| |
what could possibly go wrong
|
|
|
|
|
| |
If the users or events keys were missing from a power_levels event, then
we would throw 500s when trying to auth them.
|
| |
|
| |
|
|
|