1 files changed, 8 insertions, 3 deletions
diff --git a/rust/src/push/mod.rs b/rust/src/push/mod.rs
index 575a1c1e68..f19d3c739f 100644
--- a/rust/src/push/mod.rs
+++ b/rust/src/push/mod.rs
@@ -164,11 +164,13 @@ impl PushRule {
/// The "action" Synapse should perform for a matching push rule.
#[derive(Debug, Clone, PartialEq, Eq)]
pub enum Action {
- DontNotify,
Notify,
- Coalesce,
SetTweak(SetTweak),
+ // Legacy actions that should be understood, but are equivalent to no-ops.
+ DontNotify,
+ Coalesce,
+
// An unrecognized custom action.
Unknown(Value),
}
@@ -568,7 +570,10 @@ impl FilteredPushRules {
.filter(|rule| {
// Ignore disabled experimental push rules
- if !self.msc1767_enabled && rule.rule_id.contains("org.matrix.msc1767") {
+ if !self.msc1767_enabled
+ && (rule.rule_id.contains("org.matrix.msc1767")
+ || rule.rule_id.contains("org.matrix.msc3933"))
+ {
return false;
}
|