mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 17:54:48 -04:00
Support MSC1767's content.body
behaviour; Add base rules from MSC3933 (#14524)
* Support MSC1767's `content.body` behaviour in push rules * Add the base rules from MSC3933 * Changelog entry * Flip condition around for finding `m.markup` * Remove forgotten import
This commit is contained in:
parent
dd51828120
commit
9ccc09fe9e
7 changed files with 316 additions and 4 deletions
|
@ -84,7 +84,10 @@ def _load_rules(
|
|||
push_rules = PushRules(ruleslist)
|
||||
|
||||
filtered_rules = FilteredPushRules(
|
||||
push_rules, enabled_map, msc3664_enabled=experimental_config.msc3664_enabled
|
||||
push_rules,
|
||||
enabled_map,
|
||||
msc3664_enabled=experimental_config.msc3664_enabled,
|
||||
msc1767_enabled=experimental_config.msc1767_enabled,
|
||||
)
|
||||
|
||||
return filtered_rules
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue