Adding vars to synapse for private servers.

This commit is contained in:
Pablo Montepagano
2021-03-14 00:39:44 -03:00
parent 9b72384df7
commit 52fe8a05b0
2 changed files with 23 additions and 3 deletions

View File

@ -68,14 +68,14 @@ use_presence: {{ matrix_synapse_use_presence|to_json }}
# API, so this setting is of limited value if federation is enabled on
# the server.
#
#require_auth_for_profile_requests: true
require_auth_for_profile_requests: {{ matrix_synapse_require_auth_for_profile_requests|to_json }}
# Uncomment to require a user to share a room with another user in order
# to retrieve their profile information. Only checked on Client-Server
# requests. Profile requests from other servers should be checked by the
# requesting server. Defaults to 'false'.
#
#limit_profile_requests_to_users_who_share_rooms: true
limit_profile_requests_to_users_who_share_rooms: {{ matrix_synapse_limit_profile_requests_to_users_who_share_rooms|to_json }}
# Uncomment to prevent a user's profile data from being retrieved and
# displayed in a room until they have joined it. By default, a user's
@ -83,7 +83,7 @@ use_presence: {{ matrix_synapse_use_presence|to_json }}
# of the above two settings, and whether or not the users share a server.
# Defaults to 'true'.
#
#include_profile_data_on_invite: false
include_profile_data_on_invite: {{ matrix_synapse_include_profile_data_on_invite|to_json }}
# If set to 'true', removes the need for authentication to access the server's
# public rooms directory through the client API, meaning that anyone can