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:
Matthew Hodgson 2019-09-13 12:05:55 +01:00
parent cbb926f237
commit b18f54c845

View file

@ -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.*)...