summary refs log tree commit diff
path: root/tests/util
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2019-11-05 22:13:37 +0000
committerGitHub <noreply@github.com>2019-11-05 22:13:37 +0000
commit0e3ab8afdc2b89ac2f47878112d93dd03d01f7ef (patch)
tree24ac6765c86588a0f91ebfa6fb5ebbf362941ae2 /tests/util
parentMerge pull request #6336 from matrix-org/erikj/fix_phone_home_stats (diff)
downloadsynapse-0e3ab8afdc2b89ac2f47878112d93dd03d01f7ef.tar.xz
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.
Diffstat (limited to 'tests/util')
0 files changed, 0 insertions, 0 deletions