diff options
author | AndrewFerr <AndrewFerr@users.noreply.github.com> | 2021-02-19 04:50:41 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-19 09:50:41 +0000 |
commit | 9bc74743d53f4795b8bbd674d2945962a9bb29f9 (patch) | |
tree | 049e203bcb3dcb84b16345a4ba885b72521e63e1 /tests | |
parent | Merge branch 'master' into develop (diff) | |
download | synapse-9bc74743d53f4795b8bbd674d2945962a9bb29f9.tar.xz |
Add configs to make profile data more private (#9203)
Add off-by-default configuration settings to: - disable putting an invitee's profile info in invite events - disable profile lookup via federation Signed-off-by: Andrew Ferrazzutti <fair@miscworks.net>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/handlers/test_profile.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/handlers/test_profile.py b/tests/handlers/test_profile.py index 18ca8b84f5..75c6a4e21c 100644 --- a/tests/handlers/test_profile.py +++ b/tests/handlers/test_profile.py @@ -161,7 +161,11 @@ class ProfileTestCase(unittest.HomeserverTestCase): response = self.get_success( self.query_handlers["profile"]( - {"user_id": "@caroline:test", "field": "displayname"} + { + "user_id": "@caroline:test", + "field": "displayname", + "origin": "servername.tld", + } ) ) |