mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
Merge pull request #857 from matrix-org/erikj/default_visibility
Don't make rooms visibile by default
This commit is contained in:
commit
b063784b78
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user