mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-10 08:30:08 -04:00
Stabilize support for MSC3758: event_property_is push condition (#15185)
This removes the configuration flag & updates the identifiers to use the stable version.
This commit is contained in:
parent
95876cf5f1
commit
fd9cadcf53
10 changed files with 39 additions and 81 deletions
|
@ -169,11 +169,6 @@ class ExperimentalConfig(Config):
|
|||
# MSC3925: do not replace events with their edits
|
||||
self.msc3925_inhibit_edit = experimental.get("msc3925_inhibit_edit", False)
|
||||
|
||||
# MSC3758: exact_event_match push rule condition
|
||||
self.msc3758_exact_event_match = experimental.get(
|
||||
"msc3758_exact_event_match", False
|
||||
)
|
||||
|
||||
# MSC3873: Disambiguate event_match keys.
|
||||
self.msc3873_escape_event_match_key = experimental.get(
|
||||
"msc3873_escape_event_match_key", False
|
||||
|
@ -184,10 +179,9 @@ class ExperimentalConfig(Config):
|
|||
"msc3966_exact_event_property_contains", False
|
||||
)
|
||||
|
||||
# MSC3952: Intentional mentions, this depends on MSC3758 and MSC3966.
|
||||
# MSC3952: Intentional mentions, this depends on MSC3966.
|
||||
self.msc3952_intentional_mentions = (
|
||||
experimental.get("msc3952_intentional_mentions", False)
|
||||
and self.msc3758_exact_event_match
|
||||
and self.msc3966_exact_event_property_contains
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue