Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

don't push by default for group chats. #6034

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions synapse/push/baserules.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,11 @@ def make_base_prepend_rules(kind, modified_base_rules):
"_id": "_message",
}
],
# default to not notifying for group chats
# see https://github.com/vector-im/riot-web/issues/3268
# we can't do this on existing servers because we need to
# add per-user overrides to preserve their existing behaviour
"enabled": False,
"actions": ["notify", {"set_tweak": "highlight", "value": False}],
},
# XXX: this is going to fire for events which aren't m.room.messages
Expand Down