summary refs log tree commit diff
path: root/synapse/push/__init__.py
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2015-02-26 18:58:14 +0000
committerDavid Baker <dave@matrix.org>2015-02-26 18:58:14 +0000
commitcfac3b7873e95f1c643708b9a3fddc7c37896826 (patch)
treee7a2ef489165639657cb5eaa012d5ffa23c0a2d0 /synapse/push/__init__.py
parentAdd API for getting/setting enabled-ness of push rules. (diff)
downloadsynapse-cfac3b7873e95f1c643708b9a3fddc7c37896826.tar.xz
SYN-267 Add a fallback rule as an explicit server default rule and make the default dont-notify so you effectively have a "notify for everything else" switch you can turn on and off.
Diffstat (limited to 'synapse/push/__init__.py')
-rw-r--r--synapse/push/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/push/__init__.py b/synapse/push/__init__.py
index 40fae91ab5..d4da05f093 100644
--- a/synapse/push/__init__.py
+++ b/synapse/push/__init__.py
@@ -32,7 +32,7 @@ class Pusher(object):
     INITIAL_BACKOFF = 1000
     MAX_BACKOFF = 60 * 60 * 1000
     GIVE_UP_AFTER = 24 * 60 * 60 * 1000
-    DEFAULT_ACTIONS = ['notify']
+    DEFAULT_ACTIONS = ['dont-notify']
 
     INEQUALITY_EXPR = re.compile("^([=<>]*)([0-9]*)$")