diff options
author | Travis Ralston <travisr@matrix.org> | 2022-11-28 16:29:53 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-28 16:29:53 -0700 |
commit | 3da645032722fbf09c1e5efbc51d8c5c78d8a2cd (patch) | |
tree | 9829bf818b0b6fd0925c6edf003f3d1d1d59bf80 /tests/push | |
parent | Move MSC3030 `/timestamp_to_event` endpoint to stable v1 location (#14471) (diff) | |
download | synapse-3da645032722fbf09c1e5efbc51d8c5c78d8a2cd.tar.xz |
Initial support for MSC3931: Room version push rule feature flags (#14520)
* Add support for MSC3931: Room Version Supports push rule condition * Create experimental flag for future work, and use it to gate MSC3931 * Changelog entry
Diffstat (limited to 'tests/push')
-rw-r--r-- | tests/push/test_push_rule_evaluator.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/push/test_push_rule_evaluator.py b/tests/push/test_push_rule_evaluator.py index fe7c145840..5ababe6a39 100644 --- a/tests/push/test_push_rule_evaluator.py +++ b/tests/push/test_push_rule_evaluator.py @@ -62,6 +62,8 @@ class PushRuleEvaluatorTestCase(unittest.TestCase): power_levels.get("notifications", {}), {} if related_events is None else related_events, True, + event.room_version.msc3931_push_features, + True, ) def test_display_name(self) -> None: |