diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2023-02-14 14:02:19 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-14 14:02:19 -0500 |
commit | 119e0795a58548fb38fab299e7c362fcbb388d68 (patch) | |
tree | 2fd51952a9e4a615768202a06e0096f6b58ebd78 /synapse/config | |
parent | Remove spurious `dont_notify` action from `.m.rule.reaction` (#15073) (diff) | |
download | synapse-119e0795a58548fb38fab299e7c362fcbb388d68.tar.xz |
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.
Diffstat (limited to 'synapse/config')
-rw-r--r-- | synapse/config/experimental.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/synapse/config/experimental.py b/synapse/config/experimental.py index 6ac2f0c10d..1d294f8798 100644 --- a/synapse/config/experimental.py +++ b/synapse/config/experimental.py @@ -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 + ) |