summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2015-03-06 10:26:08 +0000
committerDavid Baker <dave@matrix.org>2015-03-06 10:26:08 +0000
commit83d31144ebe174b884dd779f1be930bd69bf8e9a (patch)
tree70396517536d73c336b7f468acd220feae6b5e08 /synapse
parentAdd default rule to suppress notices. (diff)
downloadsynapse-83d31144ebe174b884dd779f1be930bd69bf8e9a.tar.xz
Add the highlight tweak where messages should be highlighted a different colour in appropriate clients.
Diffstat (limited to 'synapse')
-rw-r--r--synapse/push/baserules.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/synapse/push/baserules.py b/synapse/push/baserules.py
index 91c528cc19..4b4c14816b 100644
--- a/synapse/push/baserules.py
+++ b/synapse/push/baserules.py
@@ -60,6 +60,8 @@ def make_base_content_rules(user):
                 {
                     'set_tweak': 'sound',
                     'value': 'default',
+                }, {
+                    'set_tweak': 'highlight'
                 }
             ]
         },
@@ -80,6 +82,8 @@ def make_base_override_rules():
                 {
                     'set_tweak': 'sound',
                     'value': 'default'
+                }, {
+                    'set_tweak': 'highlight'
                 }
             ]
         },