mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-27 14:17:08 -04:00
Stabilize support for MSC3966: event_property_contains push condition. (#15187)
This removes the configuration flag & updates the identifiers to use the stable version.
This commit is contained in:
parent
2af1a982c1
commit
820f02b70b
9 changed files with 13 additions and 55 deletions
|
@ -173,7 +173,6 @@ class PushRuleEvaluatorTestCase(unittest.TestCase):
|
|||
related_event_match_enabled=True,
|
||||
room_version_feature_flags=event.room_version.msc3931_push_features,
|
||||
msc3931_enabled=True,
|
||||
msc3966_exact_event_property_contains=True,
|
||||
)
|
||||
|
||||
def test_display_name(self) -> None:
|
||||
|
@ -526,7 +525,7 @@ class PushRuleEvaluatorTestCase(unittest.TestCase):
|
|||
"""Check that exact_event_property_contains conditions work as expected."""
|
||||
|
||||
condition = {
|
||||
"kind": "org.matrix.msc3966.exact_event_property_contains",
|
||||
"kind": "event_property_contains",
|
||||
"key": "content.value",
|
||||
"value": "foobaz",
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue