diff options
author | Erik Johnston <erik@matrix.org> | 2015-01-30 15:16:38 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-01-30 15:16:38 +0000 |
commit | 1bd540ef7943c08e350ba24c407f152016fa6064 (patch) | |
tree | 47f2f0cbc07a943fbdd8d154b6d88ace246e4787 /synapse/push/baserules.py | |
parent | Merge branch 'replication_split' of github.com:matrix-org/synapse into reject... (diff) | |
parent | Merge pull request #42 from matrix-org/replication_split (diff) | |
download | synapse-1bd540ef7943c08e350ba24c407f152016fa6064.tar.xz |
Merge branch 'develop' of github.com:matrix-org/synapse into rejections
Conflicts: synapse/storage/schema/im.sql
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 |