mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-24 10:24:09 -04:00
Implement MSC3966: Add a push rule condition to search for a value in an array. (#15045)
The `exact_event_property_contains` condition can be used to search for a value inside of an array.
This commit is contained in:
parent
157c571f3e
commit
119e0795a5
9 changed files with 176 additions and 42 deletions
|
@ -188,3 +188,8 @@ class ExperimentalConfig(Config):
|
|||
self.msc3958_supress_edit_notifs = experimental.get(
|
||||
"msc3958_supress_edit_notifs", False
|
||||
)
|
||||
|
||||
# MSC3966: exact_event_property_contains push rule condition.
|
||||
self.msc3966_exact_event_property_contains = experimental.get(
|
||||
"msc3966_exact_event_property_contains", False
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue