diff options
author | Erik Johnston <erik@matrix.org> | 2016-01-19 10:14:53 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-01-19 10:14:53 +0000 |
commit | f750a442f738ef9bdc2994810cc3220586f8c765 (patch) | |
tree | ed846fa1c725a5381576cb602a611198a8f3cde8 /synapse | |
parent | Preserve truthiness (diff) | |
download | synapse-f750a442f738ef9bdc2994810cc3220586f8c765.tar.xz |
Update _id
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/push/baserules.py | 5 |
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', |