summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-01-19 10:14:53 +0000
committerErik Johnston <erik@matrix.org>2016-01-19 10:14:53 +0000
commitf750a442f738ef9bdc2994810cc3220586f8c765 (patch)
treeed846fa1c725a5381576cb602a611198a8f3cde8
parentPreserve truthiness (diff)
downloadsynapse-f750a442f738ef9bdc2994810cc3220586f8c765.tar.xz
Update _id
-rw-r--r--synapse/push/baserules.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/synapse/push/baserules.py b/synapse/push/baserules.py
index 8be47f0975..e1217b5c52 100644
--- a/synapse/push/baserules.py
+++ b/synapse/push/baserules.py
@@ -171,7 +171,8 @@ BASE_APPEND_UNDERRIDE_RULES = [
         'conditions': [
             {
                 'kind': 'room_member_count',
-                'is': '2'
+                'is': '2',
+                '_id': 'member_count',
             }
         ],
         'actions': [
@@ -192,7 +193,7 @@ BASE_APPEND_UNDERRIDE_RULES = [
                 'kind': 'event_match',
                 'key': 'type',
                 'pattern': 'm.room.member',
-                '_id': '_invite_type',
+                '_id': '_member',
             },
             {
                 'kind': 'event_match',