Skip to content

Commit

Permalink
Remove default push rule override for MSC1930 (#2376)
Browse files Browse the repository at this point in the history
Folks have had since Matrix 1.0 (June 2019) to upgrade to a compatible server
  • Loading branch information
turt2live authored May 17, 2022
1 parent f44510e commit e9e8e90
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions src/pushprocessor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,31 +56,6 @@ const RULEKINDS_IN_ORDER = [
// 2. We often want to start using push rules ahead of the server supporting them,
// and so we can put them here.
const DEFAULT_OVERRIDE_RULES: IPushRule[] = [
{
// For homeservers which don't support MSC1930 yet
rule_id: ".m.rule.tombstone",
default: true,
enabled: true,
conditions: [
{
kind: ConditionKind.EventMatch,
key: "type",
pattern: "m.room.tombstone",
},
{
kind: ConditionKind.EventMatch,
key: "state_key",
pattern: "",
},
],
actions: [
PushRuleActionName.Notify,
{
set_tweak: TweakName.Highlight,
value: true,
},
],
},
{
// For homeservers which don't support MSC2153 yet
rule_id: ".m.rule.reaction",
Expand Down

0 comments on commit e9e8e90

Please sign in to comment.