summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--synapse/server_notices/server_notices_manager.py7
1 files changed, 7 insertions, 0 deletions
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,