From 8a2e8eaaecb40ca0997b086ddc568aa3fee09152 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson <matthew@matrix.org> Date: Fri, 13 Sep 2019 12:14:29 +0100 Subject: [PATCH] default off groupchat push correctly --- synapse/push/baserules.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/synapse/push/baserules.py b/synapse/push/baserules.py index 4d57a89d7e..47cf01e3dc 100644 --- a/synapse/push/baserules.py +++ b/synapse/push/baserules.py @@ -335,12 +335,14 @@ BASE_APPEND_UNDERRIDE_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": [ - # 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" + "notify", + {"set_tweak": "highlight", "value": False} ], }, # XXX: this is going to fire for events which aren't m.room.messages -- GitLab