forked from MirrorHub/synapse
Do not return extensible events experimental push rules by default. (#15494)
This commit is contained in:
parent
9900f7c231
commit
e2e9b545ff
2 changed files with 5 additions and 1 deletions
1
changelog.d/15494.bugfix
Normal file
1
changelog.d/15494.bugfix
Normal file
|
@ -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 a new issue