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:
Erik Johnston 2019-09-13 14:16:39 +01:00 committed by GitHub
commit 76b25075b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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