mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-19 17:56:19 +03:00
don't push by default for group chats.
see https://github.com/vector-im/riot-web/issues/3268 This only works for new servers (e.g. mozilla-test.modular.im)
This commit is contained in:
parent
cbb926f237
commit
b18f54c845
1 changed files with 7 additions and 1 deletions
|
@ -335,7 +335,13 @@ BASE_APPEND_UNDERRIDE_RULES = [
|
|||
"_id": "_message",
|
||||
}
|
||||
],
|
||||
"actions": ["notify", {"set_tweak": "highlight", "value": False}],
|
||||
"actions": [
|
||||
# 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
|
||||
"dont_notify"
|
||||
],
|
||||
},
|
||||
# XXX: this is going to fire for events which aren't m.room.messages
|
||||
# but are encrypted (e.g. m.call.*)...
|
||||
|
|
Loading…
Reference in a new issue