diff --git a/src/pushprocessor.ts b/src/pushprocessor.ts index 7e63162b4c9..02e2c37f7e1 100644 --- a/src/pushprocessor.ts +++ b/src/pushprocessor.ts @@ -71,36 +71,6 @@ const DEFAULT_OVERRIDE_RULES: IPushRule[] = [ ], actions: [PushRuleActionName.DontNotify], }, - { - rule_id: RuleId.IsUserMention, - default: true, - enabled: true, - conditions: [ - { - kind: ConditionKind.EventPropertyContains, - key: "content.m\\.mentions.user_ids", - value: "", // The user ID is dynamically added in rewriteDefaultRules. - }, - ], - actions: [PushRuleActionName.Notify, { set_tweak: TweakName.Highlight }], - }, - { - rule_id: RuleId.IsRoomMention, - default: true, - enabled: true, - conditions: [ - { - kind: ConditionKind.EventPropertyIs, - key: "content.m\\.mentions.room", - value: true, - }, - { - kind: ConditionKind.SenderNotificationPermission, - key: "room", - }, - ], - actions: [PushRuleActionName.Notify, { set_tweak: TweakName.Highlight }], - }, { // For homeservers which don't support MSC3786 yet rule_id: ".org.matrix.msc3786.rule.room.server_acl",