diff --git a/crates/ruma-common/CHANGELOG.md b/crates/ruma-common/CHANGELOG.md index 86b14d1f..9cba7252 100644 --- a/crates/ruma-common/CHANGELOG.md +++ b/crates/ruma-common/CHANGELOG.md @@ -1,5 +1,10 @@ # [unreleased] +Bug fixes: + +- Set the predefined server-default `.m.rule.tombstone` push rule as enabled by default, as defined + in the spec. + Breaking changes: - Make `in_reply_to` field of `Thread` optional diff --git a/crates/ruma-common/src/push/predefined.rs b/crates/ruma-common/src/push/predefined.rs index 526fabb7..49dd07ff 100644 --- a/crates/ruma-common/src/push/predefined.rs +++ b/crates/ruma-common/src/push/predefined.rs @@ -202,7 +202,7 @@ impl ConditionalPushRule { Self { actions: vec![Notify, SetTweak(Tweak::Highlight(true))], default: true, - enabled: false, + enabled: true, rule_id: PredefinedOverrideRuleId::Tombstone.to_string(), conditions: vec![ EventMatch { key: "type".into(), pattern: "m.room.tombstone".into() },