summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-06-08 14:47:42 +0100
committerErik Johnston <erik@matrix.org>2016-06-08 14:47:42 +0100
commit690029d1a3ebd26f56656a723fefdeafd71310e4 (patch)
treedeca18814536f264c674c93317f5e4fe84b36687 /synapse
parentFix up federation PublicRoomList (diff)
downloadsynapse-690029d1a3ebd26f56656a723fefdeafd71310e4.tar.xz
Don't make rooms visibile by default
Diffstat (limited to 'synapse')
-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):