mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
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:
parent
7179fdd550
commit
766c24b2e6
@ -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': [
|
||||
|
Loading…
Reference in New Issue
Block a user