diff options
author | David Baker <dave@matrix.org> | 2015-02-05 15:11:38 +0000 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2015-02-05 15:11:38 +0000 |
commit | aaf50bf6f3d6adee92fa4d5cb55dbf3c5a13dbe3 (patch) | |
tree | e75934b0a4650e6698fb66bc3bb6bb238ecffebf /synapse/push/baserules.py | |
parent | Server default rules now of all kinds rather than all being at lowest prio. (diff) | |
download | synapse-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.py | 1 |
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 |