Add room member count condition and default rule to make a noise on rooms of only 2 people.

This commit is contained in:
David Baker 2015-01-30 14:46:03 +00:00
parent 1251d017c1
commit 322a047502
3 changed files with 63 additions and 6 deletions

View file

@ -32,4 +32,18 @@ def make_base_rules(user_name):
}
]
},
{
'conditions': [
{
'kind': 'room_member_count',
'is': '2'
}
],
'actions': [
'notify',
{
'set_sound': 'default'
}
]
}
]