Do not return extensible events experimental push rules by default. (#15494)
parent
9900f7c231
commit
e2e9b545ff
|
@ -0,0 +1 @@
|
|||
Fix a bug introduced in Synapse 1.73.0 where some experimental push rules were returned by default.
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue