diff options
author | Erik Johnston <erik@matrix.org> | 2015-01-30 14:57:33 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-01-30 14:57:33 +0000 |
commit | fdd2ac495a6da1bce765fc008e9d9bc114451458 (patch) | |
tree | 576bc559059b0847d2559f3c5dd00de9cf4bf83f /synapse/push/baserules.py | |
parent | Be more specific in naming columns in selects. (diff) | |
parent | Merge pull request #37 from matrix-org/client_v2_filter (diff) | |
download | synapse-fdd2ac495a6da1bce765fc008e9d9bc114451458.tar.xz |
Merge branch 'develop' of github.com:matrix-org/synapse into rejections_storage
Conflicts: synapse/storage/__init__.py
Diffstat (limited to 'synapse/push/baserules.py')
-rw-r--r-- | synapse/push/baserules.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/synapse/push/baserules.py b/synapse/push/baserules.py index 4caf7beed2..bd162baade 100644 --- a/synapse/push/baserules.py +++ b/synapse/push/baserules.py @@ -32,4 +32,18 @@ def make_base_rules(user_name): } ] }, + { + 'conditions': [ + { + 'kind': 'room_member_count', + 'is': '2' + } + ], + 'actions': [ + 'notify', + { + 'set_sound': 'default' + } + ] + } ] \ No newline at end of file |