summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-06-08 15:18:58 +0100
committerErik Johnston <erik@matrix.org>2016-06-08 15:18:58 +0100
commitb063784b78ffb29dc092f5ee01b73c6dc27ddcb0 (patch)
tree2db8d735b07676a17521bb50e55da887fc45dd6c
parentDisable the synchrotron on jenkins until the sytest support lands (#855) (diff)
parentDon't make rooms visibile by default (diff)
downloadsynapse-b063784b78ffb29dc092f5ee01b73c6dc27ddcb0.tar.xz
Merge pull request #857 from matrix-org/erikj/default_visibility
Don't make rooms visibile by default
-rw-r--r--synapse/rest/client/v1/room.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/synapse/rest/client/v1/room.py b/synapse/rest/client/v1/room.py
index 604c2a565e..86fbe2747d 100644
--- a/synapse/rest/client/v1/room.py
+++ b/synapse/rest/client/v1/room.py
@@ -72,8 +72,6 @@ class RoomCreateRestServlet(ClientV1RestServlet):
 
     def get_room_config(self, request):
         user_supplied_config = parse_json_object_from_request(request)
-        # default visibility
-        user_supplied_config.setdefault("visibility", "public")
         return user_supplied_config
 
     def on_OPTIONS(self, request):