Only notify for messages in one to one rooms, not every event
Fixes the fact that candidate events and hangups generated notifications.pull/529/head
parent
7179fdd550
commit
766c24b2e6
|
@ -173,6 +173,12 @@ BASE_APPEND_UNDERRIDE_RULES = [
|
||||||
'kind': 'room_member_count',
|
'kind': 'room_member_count',
|
||||||
'is': '2',
|
'is': '2',
|
||||||
'_id': 'member_count',
|
'_id': 'member_count',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'kind': 'event_match',
|
||||||
|
'key': 'type',
|
||||||
|
'pattern': 'm.room.message',
|
||||||
|
'_id': '_message',
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
'actions': [
|
'actions': [
|
||||||
|
|
Loading…
Reference in New Issue