mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-22 01:25:44 +03:00
Enable the .org.matrix.msc4028.encrypted_event
push rule by default (#17826)
Clients will still only see this rule if the corresponding experimental feature, `msc4028_push_encrypted_events`, is also enabled. This aligns the implementation with MSC4028, specifically [this section](https://github.com/matrix-org/matrix-spec-proposals/blob/giomfo/push_encrypted_events/proposals/4028-push-all-encrypted-events-except-for-muted-rooms.md#unstable-prefix). See https://github.com/element-hq/synapse/issues/16846 for context.
This commit is contained in:
parent
adda2a4613
commit
c5b379de66
2 changed files with 2 additions and 1 deletions
1
changelog.d/17826.misc
Normal file
1
changelog.d/17826.misc
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Enable the `.org.matrix.msc4028.encrypted_event` push rule by default in accordance with [MSC4028](https://github.com/matrix-org/matrix-spec-proposals/pull/4028). Note that the corresponding experimental feature must still be switched on for this push rule to have any effect.
|
|
@ -81,7 +81,7 @@ pub const BASE_APPEND_OVERRIDE_RULES: &[PushRule] = &[
|
||||||
))]),
|
))]),
|
||||||
actions: Cow::Borrowed(&[Action::Notify]),
|
actions: Cow::Borrowed(&[Action::Notify]),
|
||||||
default: true,
|
default: true,
|
||||||
default_enabled: false,
|
default_enabled: true,
|
||||||
},
|
},
|
||||||
PushRule {
|
PushRule {
|
||||||
rule_id: Cow::Borrowed("global/override/.m.rule.suppress_notices"),
|
rule_id: Cow::Borrowed("global/override/.m.rule.suppress_notices"),
|
||||||
|
|
Loading…
Reference in a new issue