diff options
author | Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | 2022-05-04 16:41:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-04 16:41:40 +0100 |
commit | 332cce8dcf9c28314f568c290b57e98036a0e723 (patch) | |
tree | c9cc1cf8e377502fcaadbdf16e22393dc33c89e8 /synapse/config | |
parent | Remove unstable/unspecced login types. (#12597) (diff) | |
download | synapse-332cce8dcf9c28314f568c290b57e98036a0e723.tar.xz |
Disable device name lookup over federation by default (#12616)
Diffstat (limited to 'synapse/config')
-rw-r--r-- | synapse/config/federation.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/synapse/config/federation.py b/synapse/config/federation.py index 0e74f70784..f83f93c0ef 100644 --- a/synapse/config/federation.py +++ b/synapse/config/federation.py @@ -46,7 +46,7 @@ class FederationConfig(Config): ) self.allow_device_name_lookup_over_federation = config.get( - "allow_device_name_lookup_over_federation", True + "allow_device_name_lookup_over_federation", False ) def generate_config_section(self, **kwargs: Any) -> str: @@ -81,11 +81,11 @@ class FederationConfig(Config): # #allow_profile_lookup_over_federation: false - # Uncomment to disable device display name lookup over federation. By default, the - # Federation API allows other homeservers to obtain device display names of any user - # on this homeserver. Defaults to 'true'. + # Uncomment to allow device display name lookup over federation. By default, the + # Federation API prevents other homeservers from obtaining the display names of + # user devices on this homeserver. Defaults to 'false'. # - #allow_device_name_lookup_over_federation: false + #allow_device_name_lookup_over_federation: true """ |