Skip to content
This repository was archived by the owner on Mar 26, 2024. It is now read-only.

Commit abe8aef

Browse files
committed
Fix push rule priority_class for global/underride/.com.beeper.reaction rule
1 parent 42017d4 commit abe8aef

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

rust/src/push/base_rules.rs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -304,8 +304,8 @@ pub const BASE_APPEND_UNDERRIDE_RULES: &[PushRule] = &[
304304
// rules take precedence, so if you enable bot notifications (by modifying
305305
// this rule) notifications will not be sent for muted rooms.
306306
PushRule {
307-
rule_id: Cow::Borrowed("global/override/.m.rule.suppress_notices"),
308-
priority_class: 5,
307+
rule_id: Cow::Borrowed("global/underride/.m.rule.suppress_notices"),
308+
priority_class: 1,
309309
conditions: Cow::Borrowed(&[Condition::Known(KnownCondition::EventMatch(
310310
EventMatchCondition {
311311
key: Cow::Borrowed("content.msgtype"),
@@ -420,10 +420,9 @@ pub const BASE_APPEND_UNDERRIDE_RULES: &[PushRule] = &[
420420
// Enable notifications for reactions to your own messages *in rooms with less
421421
// than 20 members*.
422422
PushRule {
423-
rule_id: Cow::Borrowed("global/override/.com.beeper.reaction"),
424-
priority_class: 5,
423+
rule_id: Cow::Borrowed("global/underride/.com.beeper.reaction"),
424+
priority_class: 1,
425425
conditions: Cow::Borrowed(&[
426-
427426
Condition::Known(KnownCondition::EventMatch(EventMatchCondition {
428427
key: Cow::Borrowed("type"),
429428
pattern: Some(Cow::Borrowed("m.reaction")),

0 commit comments

Comments
 (0)