Skip to content

Commit d8d3b2a

Browse files
Merge pull request #751 from matrix-org/neilj/privacy_by_default_room_dir
Change room directly access defaults
2 parents afd2b6f + 6e2a45c commit d8d3b2a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

lib/SyTest/Homeserver/Synapse.pm

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,13 @@ sub start
251251
media_store_path => "$hs_dir/media_store",
252252
uploads_path => "$hs_dir/uploads_path",
253253

254+
# Both of these settings default to false in order to preserve privacy.
255+
# Sytest assumes that the room directory is open to ensure that the
256+
# open behaviour can be tested, and the default case is handled through
257+
# unit tests.
258+
allow_public_rooms_over_federation => "true",
259+
allow_public_rooms_without_auth => "true",
260+
254261
user_agent_suffix => "homeserver[". $self->{hs_index} . "]",
255262

256263
require_membership_for_aliases => "false",

0 commit comments

Comments
 (0)