summary refs log tree commit diff
path: root/synapse/push
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2016-01-21 11:50:27 +0000
committerDavid Baker <dave@matrix.org>2016-01-21 11:50:27 +0000
commit930ba003f85d58c5ef58c4f4a43e098beee94781 (patch)
tree322e502f6cd3a6026010b31f53352eed6203d40b /synapse/push
parentMerge branch 'develop' of github.com:matrix-org/synapse into develop (diff)
downloadsynapse-930ba003f85d58c5ef58c4f4a43e098beee94781.tar.xz
Remove member event rule as per SYN-607
Diffstat (limited to 'synapse/push')
-rw-r--r--synapse/push/baserules.py36
1 files changed, 19 insertions, 17 deletions
diff --git a/synapse/push/baserules.py b/synapse/push/baserules.py
index 3b526c4e33..186281dfa3 100644
--- a/synapse/push/baserules.py
+++ b/synapse/push/baserules.py
@@ -218,23 +218,25 @@ BASE_APPEND_UNDERRIDE_RULES = [
             }
         ]
     },
-    {
-        'rule_id': 'global/underride/.m.rule.member_event',
-        'conditions': [
-            {
-                'kind': 'event_match',
-                'key': 'type',
-                'pattern': 'm.room.member',
-                '_id': '_member',
-            }
-        ],
-        'actions': [
-            'notify', {
-                'set_tweak': 'highlight',
-                'value': False
-            }
-        ]
-    },
+    # This is too simple: https://matrix.org/jira/browse/SYN-607
+    # Removing for now
+    # {
+    #     'rule_id': 'global/underride/.m.rule.member_event',
+    #     'conditions': [
+    #         {
+    #             'kind': 'event_match',
+    #             'key': 'type',
+    #             'pattern': 'm.room.member',
+    #             '_id': '_member',
+    #         }
+    #     ],
+    #     'actions': [
+    #         'notify', {
+    #             'set_tweak': 'highlight',
+    #             'value': False
+    #         }
+    #     ]
+    # },
     {
         'rule_id': 'global/underride/.m.rule.message',
         'conditions': [