summary refs log tree commit diff
path: root/synapse/push/baserules.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/push/baserules.py')
-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',