diff options
author | Michael Telatynski <7t3chguy@gmail.com> | 2018-05-25 10:55:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-25 10:55:39 +0100 |
commit | 3ebdd6dffa2f93de93aef38670bb2ea8b05b133d (patch) | |
tree | 6842dae5b0d4ddda75937a56a4ef8538b2080b7a /synapse | |
parent | Merge pull request #3283 from NotAFile/py3-state (diff) | |
download | synapse-t3chguy/hide-join-parts.tar.xz |
Suggest to Riot that the notices room should hidejoinsparts github/t3chguy/hide-join-parts t3chguy/hide-join-parts
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/server_notices/server_notices_manager.py | 7 |
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, |