diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2023-04-26 14:27:38 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-26 14:27:38 -0400 |
commit | e2e9b545ff884627f7605c3d6519e46de33b83fe (patch) | |
tree | 0d44a62c46b780a39fc96889f1cd2f9bfa15d45d /rust/src/push/mod.rs | |
parent | Add admin endpoint to query room sizes (#15482) (diff) | |
download | synapse-e2e9b545ff884627f7605c3d6519e46de33b83fe.tar.xz |
Do not return extensible events experimental push rules by default. (#15494)
Diffstat (limited to 'rust/src/push/mod.rs')
-rw-r--r-- | rust/src/push/mod.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/rust/src/push/mod.rs b/rust/src/push/mod.rs index 575a1c1e68..42c7c84132 100644 --- a/rust/src/push/mod.rs +++ b/rust/src/push/mod.rs @@ -568,7 +568,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; } |