mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-21 14:44:10 -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
|
@ -228,14 +228,7 @@ class TestBulkPushRuleEvaluator(HomeserverTestCase):
|
|||
)
|
||||
return len(result) > 0
|
||||
|
||||
@override_config(
|
||||
{
|
||||
"experimental_features": {
|
||||
"msc3952_intentional_mentions": True,
|
||||
"msc3966_exact_event_property_contains": True,
|
||||
}
|
||||
}
|
||||
)
|
||||
@override_config({"experimental_features": {"msc3952_intentional_mentions": True}})
|
||||
def test_user_mentions(self) -> None:
|
||||
"""Test the behavior of an event which includes invalid user mentions."""
|
||||
bulk_evaluator = BulkPushRuleEvaluator(self.hs)
|
||||
|
@ -331,14 +324,7 @@ class TestBulkPushRuleEvaluator(HomeserverTestCase):
|
|||
)
|
||||
)
|
||||
|
||||
@override_config(
|
||||
{
|
||||
"experimental_features": {
|
||||
"msc3952_intentional_mentions": True,
|
||||
"msc3966_exact_event_property_contains": True,
|
||||
}
|
||||
}
|
||||
)
|
||||
@override_config({"experimental_features": {"msc3952_intentional_mentions": True}})
|
||||
def test_room_mentions(self) -> None:
|
||||
"""Test the behavior of an event which includes invalid room mentions."""
|
||||
bulk_evaluator = BulkPushRuleEvaluator(self.hs)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue