Fix `PushRuleEvaluator` and `Filter` to work on frozendicts (#12100)
* Fix `PushRuleEvaluator` to work on frozendicts frozendicts do not (necessarily) inherit from dict, so this needs to handle them correctly. * Fix event filtering for frozen events Looks like this one was introduced by #11194.
Showing
- changelog.d/12100.bugfix 1 addition, 0 deletionschangelog.d/12100.bugfix
- synapse/api/filtering.py 3 additions, 2 deletionssynapse/api/filtering.py
- synapse/push/push_rule_evaluator.py 4 additions, 4 deletionssynapse/push/push_rule_evaluator.py
- tests/api/test_filtering.py 10 additions, 0 deletionstests/api/test_filtering.py
- tests/push/test_push_rule_evaluator.py 9 additions, 0 deletionstests/push/test_push_rule_evaluator.py
changelog.d/12100.bugfix
0 → 100644
Please register or sign in to comment