forked-synapse/synapse/events
Richard van der Hoff 0e3ab8afdc
Add some checks that we aren't using state from rejected events (#6330)
* Raise an exception if accessing state for rejected events

Add some sanity checks on accessing state_group etc for
rejected events.

* Skip calculating push actions for rejected events

It didn't actually cause any bugs, because rejected events get filtered out at
various later points, but there's not point in trying to calculate the push
actions for a rejected event.
2019-11-05 22:13:37 +00:00
..
__init__.py Remove the ability to query relations when the original event was redacted. (#5629) 2019-07-18 14:41:42 +01:00
builder.py Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
snapshot.py Add some checks that we aren't using state from rejected events (#6330) 2019-11-05 22:13:37 +00:00
spamcheck.py Expose some homeserver functionality to spam checkers (#6259) 2019-10-31 09:16:14 -06:00
third_party_rules.py Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
utils.py Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
validator.py Merge pull request #5805 from matrix-org/erikj/validate_state 2019-08-01 13:45:48 +01:00