mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-19 17:56:19 +03:00
Merge pull request #6034 from matrix-org/matthew/no-push-for-groups
don't push by default for group chats.
This commit is contained in:
commit
76b25075b0
1 changed files with 5 additions and 0 deletions
|
@ -335,6 +335,11 @@ BASE_APPEND_UNDERRIDE_RULES = [
|
||||||
"_id": "_message",
|
"_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}],
|
"actions": ["notify", {"set_tweak": "highlight", "value": False}],
|
||||||
},
|
},
|
||||||
# XXX: this is going to fire for events which aren't m.room.messages
|
# XXX: this is going to fire for events which aren't m.room.messages
|
||||||
|
|
Loading…
Reference in a new issue