1 files changed, 5 insertions, 6 deletions
diff --git a/synapse/push/baserules.py b/synapse/push/baserules.py
index bd162baade..382de118e0 100644
--- a/synapse/push/baserules.py
+++ b/synapse/push/baserules.py
@@ -1,9 +1,5 @@
def make_base_rules(user_name):
- """
- Nominally we reserve priority class 0 for these rules, although
- in practice we just append them to the end so we don't actually need it.
- """
- return [
+ rules = [
{
'conditions': [
{
@@ -46,4 +42,7 @@ def make_base_rules(user_name):
}
]
}
- ]
\ No newline at end of file
+ ]
+ for r in rules:
+ r['priority_class'] = 0
+ return rules
\ No newline at end of file
|