From d49933470d5aa74dcb3620c40db1563c9cba27e5 Mon Sep 17 00:00:00 2001 From: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> Date: Thu, 5 Dec 2019 11:55:12 +0000 Subject: Add limit_profile_requests_to_known_users option (#18) --- tests/rest/client/v1/test_profile.py | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/rest/client/v1/test_profile.py') diff --git a/tests/rest/client/v1/test_profile.py b/tests/rest/client/v1/test_profile.py index d932dd3c06..6958430608 100644 --- a/tests/rest/client/v1/test_profile.py +++ b/tests/rest/client/v1/test_profile.py @@ -230,6 +230,7 @@ class ProfilesRestrictedTestCase(unittest.HomeserverTestCase): config = self.default_config() config["require_auth_for_profile_requests"] = True + config["limit_profile_requests_to_known_users"] = True self.hs = self.setup_test_homeserver(config=config) return self.hs -- cgit 1.5.1