summary refs log tree commit diff
path: root/rust/src/push/mod.rs
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2023-04-26 14:27:38 -0400
committerGitHub <noreply@github.com>2023-04-26 14:27:38 -0400
commite2e9b545ff884627f7605c3d6519e46de33b83fe (patch)
tree0d44a62c46b780a39fc96889f1cd2f9bfa15d45d /rust/src/push/mod.rs
parentAdd admin endpoint to query room sizes (#15482) (diff)
downloadsynapse-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.rs5
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;
                 }