summary refs log tree commit diff
path: root/synapse/storage/databases/main/push_rule.py
diff options
context:
space:
mode:
authorPatrick Cloke <patrickc@matrix.org>2023-11-09 11:14:57 -0500
committerPatrick Cloke <patrickc@matrix.org>2023-11-09 11:14:57 -0500
commit8c2d3d0b4cf674ec9b8fa582d50e66cd0960a73b (patch)
tree115f6d18fb7dbbfc710f40a68d7c4d0007be056c /synapse/storage/databases/main/push_rule.py
parentMerge remote-tracking branch 'origin/develop' into matrix-org-hotfixes (diff)
parentConvert simple_select_one_txn and simple_select_one to return tuples. (#16612) (diff)
downloadsynapse-8c2d3d0b4cf674ec9b8fa582d50e66cd0960a73b.tar.xz
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
Diffstat (limited to 'synapse/storage/databases/main/push_rule.py')
-rw-r--r--synapse/storage/databases/main/push_rule.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/storage/databases/main/push_rule.py b/synapse/storage/databases/main/push_rule.py

index 37135d431d..f72a23c584 100644 --- a/synapse/storage/databases/main/push_rule.py +++ b/synapse/storage/databases/main/push_rule.py
@@ -468,8 +468,7 @@ class PushRuleStore(PushRulesWorkerStore): "before/after rule not found: %s" % (relative_to_rule,) ) - base_priority_class = res["priority_class"] - base_rule_priority = res["priority"] + base_priority_class, base_rule_priority = res if base_priority_class != priority_class: raise InconsistentRuleException(