From 3ebdd6dffa2f93de93aef38670bb2ea8b05b133d Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Fri, 25 May 2018 10:55:39 +0100 Subject: [PATCH] Suggest to Riot that the notices room should hidejoinsparts --- synapse/server_notices/server_notices_manager.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/synapse/server_notices/server_notices_manager.py b/synapse/server_notices/server_notices_manager.py index a26deace53..b3c6ee30c9 100644 --- a/synapse/server_notices/server_notices_manager.py +++ b/synapse/server_notices/server_notices_manager.py @@ -135,6 +135,13 @@ class ServerNoticesManager(object): "power_level_content_override": { "users_default": -10, }, + "initial_state": [{ + "type": "im.vector.web.settings", + "state_key": "", + "content": { + "hideJoinLeaves": true + } + }], "invite": (user_id,) }, ratelimit=False,