summary refs log tree commit diff
path: root/rust/src
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2024-04-10 11:19:31 +0100
committerErik Johnston <erik@matrix.org>2024-04-10 11:19:31 +0100
commitb1c1f6d29a5e4665d1ddc4f40ade22d6ab546000 (patch)
tree52907b473fdf639080491f0debba9ae9b162bdcf /rust/src
parentMerge remote-tracking branch 'origin/develop' into matrix-org-hotfixes (diff)
parentStabilize support for MSC4010: push rules & account data. (#17022) (diff)
downloadsynapse-b1c1f6d29a5e4665d1ddc4f40ade22d6ab546000.tar.xz
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
Diffstat (limited to 'rust/src')
-rw-r--r--rust/src/push/base_rules.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/rust/src/push/base_rules.rs b/rust/src/push/base_rules.rs

index b00390f7e4..74f02d6001 100644 --- a/rust/src/push/base_rules.rs +++ b/rust/src/push/base_rules.rs
@@ -304,12 +304,12 @@ pub const BASE_APPEND_UNDERRIDE_RULES: &[PushRule] = &[ default_enabled: true, }, PushRule { - rule_id: Cow::Borrowed("global/underride/.m.rule.room_one_to_one"), + rule_id: Cow::Borrowed("global/underride/.m.rule.encrypted_room_one_to_one"), priority_class: 1, conditions: Cow::Borrowed(&[ Condition::Known(KnownCondition::EventMatch(EventMatchCondition { key: Cow::Borrowed("type"), - pattern: Cow::Borrowed("m.room.message"), + pattern: Cow::Borrowed("m.room.encrypted"), })), Condition::Known(KnownCondition::RoomMemberCount { is: Some(Cow::Borrowed("2")), @@ -320,12 +320,12 @@ pub const BASE_APPEND_UNDERRIDE_RULES: &[PushRule] = &[ default_enabled: true, }, PushRule { - rule_id: Cow::Borrowed("global/underride/.m.rule.encrypted_room_one_to_one"), + rule_id: Cow::Borrowed("global/underride/.m.rule.room_one_to_one"), priority_class: 1, conditions: Cow::Borrowed(&[ Condition::Known(KnownCondition::EventMatch(EventMatchCondition { key: Cow::Borrowed("type"), - pattern: Cow::Borrowed("m.room.encrypted"), + pattern: Cow::Borrowed("m.room.message"), })), Condition::Known(KnownCondition::RoomMemberCount { is: Some(Cow::Borrowed("2")),