Support the backwards compatibility features in MSC3952. (#14958)
If the feature is enabled and the event has a `m.mentions` property, skip processing of the legacy mentions rules.
Showing
- changelog.d/14958.feature 1 addition, 0 deletionschangelog.d/14958.feature
- rust/benches/evaluator.rs 4 additions, 0 deletionsrust/benches/evaluator.rs
- rust/src/push/evaluator.rs 19 additions, 0 deletionsrust/src/push/evaluator.rs
- stubs/synapse/synapse_rust/push.pyi 1 addition, 0 deletionsstubs/synapse/synapse_rust/push.pyi
- synapse/push/bulk_push_rule_evaluator.py 8 additions, 1 deletionsynapse/push/bulk_push_rule_evaluator.py
- tests/push/test_bulk_push_rule_evaluator.py 140 additions, 51 deletionstests/push/test_bulk_push_rule_evaluator.py
- tests/push/test_push_rule_evaluator.py 11 additions, 7 deletionstests/push/test_push_rule_evaluator.py
Loading
Please register or sign in to comment