1 files changed, 4 insertions, 2 deletions
diff --git a/rust/src/push/mod.rs b/rust/src/push/mod.rs
index 42c7c84132..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),
}
|