summary refs log tree commit diff
path: root/synapse/push/baserules.py
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2015-02-05 15:11:38 +0000
committerDavid Baker <dave@matrix.org>2015-02-05 15:11:38 +0000
commitaaf50bf6f3d6adee92fa4d5cb55dbf3c5a13dbe3 (patch)
treee75934b0a4650e6698fb66bc3bb6bb238ecffebf /synapse/push/baserules.py
parentServer default rules now of all kinds rather than all being at lowest prio. (diff)
downloadsynapse-aaf50bf6f3d6adee92fa4d5cb55dbf3c5a13dbe3.tar.xz
Give server default rules the 'default' attribute and fix various brokenness.
Diffstat (limited to 'synapse/push/baserules.py')
-rw-r--r--synapse/push/baserules.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/push/baserules.py b/synapse/push/baserules.py
index 191909ad4d..8d4b806da6 100644
--- a/synapse/push/baserules.py
+++ b/synapse/push/baserules.py
@@ -36,6 +36,7 @@ def make_base_rules(user, kind):
 
     for r in rules:
         r['priority_class'] = PRIORITY_CLASS_MAP[kind]
+        r['default'] = True
 
     return rules