From 83d31144ebe174b884dd779f1be930bd69bf8e9a Mon Sep 17 00:00:00 2001
From: David Baker <dave@matrix.org>
Date: Fri, 6 Mar 2015 10:26:08 +0000
Subject: [PATCH] Add the highlight tweak where messages should be highlighted
 a different colour in appropriate clients.

---
 synapse/push/baserules.py | 4 ++++
 1 file changed, 4 insertions(+)

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'
                 }
             ]
         },
-- 
GitLab