summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
Diffstat (limited to 'synapse')
-rw-r--r--synapse/push/baserules.py29
-rw-r--r--synapse/push/httppusher.py2
2 files changed, 19 insertions, 12 deletions
diff --git a/synapse/push/baserules.py b/synapse/push/baserules.py
index eddc7fcbe2..6d00ebd36d 100644
--- a/synapse/push/baserules.py
+++ b/synapse/push/baserules.py
@@ -113,6 +113,9 @@ def make_base_override_rules():
                 {
                     'set_tweak': 'sound',
                     'value': 'default'
+                }, {
+                    'set_tweak': 'highlight',
+                    'value': 'false'
                 }
             ]
         }
@@ -145,6 +148,9 @@ def make_base_underride_rules(user):
                 {
                     'set_tweak': 'sound',
                     'value': 'default'
+                }, {
+                    'set_tweak': 'highlight',
+                    'value': 'false'
                 }
             ]
         },
@@ -158,7 +164,10 @@ def make_base_underride_rules(user):
                 }
             ],
             'actions': [
-                'notify',
+                'notify', {
+                    'set_tweak': 'highlight',
+                    'value': 'false'
+                }
             ]
         },
         {
@@ -171,7 +180,10 @@ def make_base_underride_rules(user):
                 }
             ],
             'actions': [
-                'notify',
+                'notify', {
+                    'set_tweak': 'highlight',
+                    'value': 'false'
+                }
             ]
         },
         {
@@ -188,15 +200,10 @@ def make_base_underride_rules(user):
                 {
                     'set_tweak': 'sound',
                     'value': 'ring'
+                }, {
+                    'set_tweak': 'highlight',
+                    'value': 'false'
                 }
             ]
-        },
-        {
-            'rule_id': 'global/underride/.m.rule.fallback',
-            'conditions': [
-            ],
-            'actions': [
-                'notify',
-            ]
-        },
+        }
     ]
diff --git a/synapse/push/httppusher.py b/synapse/push/httppusher.py
index caca709f10..a02fed57b4 100644
--- a/synapse/push/httppusher.py
+++ b/synapse/push/httppusher.py
@@ -109,7 +109,7 @@ class HttpPusher(Pusher):
         try:
             resp = yield self.httpCli.post_json_get_json(self.url, notification_dict)
         except:
-            logger.exception("Failed to push %s ", self.url)
+            logger.warn("Failed to push %s ", self.url)
             defer.returnValue(False)
         rejected = []
         if 'rejected' in resp: