Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #857 from matrix-org/erikj/default_visibility
Browse files Browse the repository at this point in the history
Don't make rooms visibile by default
  • Loading branch information
erikjohnston committed Jun 8, 2016
2 parents defa28e + 690029d commit b063784
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions synapse/rest/client/v1/room.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,6 @@ def on_POST(self, request):

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):
Expand Down

0 comments on commit b063784

Please sign in to comment.