|
|
@@ -132,7 +132,7 @@ pub const BASE_APPEND_OVERRIDE_RULES: &[PushRule] = &[ |
|
|
|
default_enabled: true, |
|
|
|
}, |
|
|
|
PushRule { |
|
|
|
rule_id: Cow::Borrowed(".org.matrix.msc3952.is_user_mentioned"), |
|
|
|
rule_id: Cow::Borrowed(".org.matrix.msc3952.is_user_mention"), |
|
|
|
priority_class: 5, |
|
|
|
conditions: Cow::Borrowed(&[Condition::Known(KnownCondition::IsUserMention)]), |
|
|
|
actions: Cow::Borrowed(&[Action::Notify, HIGHLIGHT_ACTION, SOUND_ACTION]), |
|
|
@@ -148,7 +148,7 @@ pub const BASE_APPEND_OVERRIDE_RULES: &[PushRule] = &[ |
|
|
|
default_enabled: true, |
|
|
|
}, |
|
|
|
PushRule { |
|
|
|
rule_id: Cow::Borrowed(".org.matrix.msc3952.is_room_mentioned"), |
|
|
|
rule_id: Cow::Borrowed(".org.matrix.msc3952.is_room_mention"), |
|
|
|
priority_class: 5, |
|
|
|
conditions: Cow::Borrowed(&[ |
|
|
|
Condition::Known(KnownCondition::IsRoomMention), |
|
|
@@ -156,7 +156,7 @@ pub const BASE_APPEND_OVERRIDE_RULES: &[PushRule] = &[ |
|
|
|
key: Cow::Borrowed("room"), |
|
|
|
}), |
|
|
|
]), |
|
|
|
actions: Cow::Borrowed(&[Action::Notify, HIGHLIGHT_ACTION, SOUND_ACTION]), |
|
|
|
actions: Cow::Borrowed(&[Action::Notify, HIGHLIGHT_ACTION]), |
|
|
|
default: true, |
|
|
|
default_enabled: true, |
|
|
|
}, |
|
|
|