Only notify for messages in one to one rooms, not every event

Fixes the fact that candidate events and hangups generated notifications.
This commit is contained in:
David Baker 2016-01-26 10:21:41 +00:00
parent 7179fdd550
commit 766c24b2e6
1 changed files with 6 additions and 0 deletions

View File

@ -173,6 +173,12 @@ BASE_APPEND_UNDERRIDE_RULES = [
'kind': 'room_member_count',
'is': '2',
'_id': 'member_count',
},
{
'kind': 'event_match',
'key': 'type',
'pattern': 'm.room.message',
'_id': '_message',
}
],
'actions': [