mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-15 15:00:14 -04:00
Replace also_allow_user with a global config option
Basically reverts 088977f676
.
This way is more suitable for self-hosting where there's no gateway to
manage the query parameter.
This commit is contained in:
parent
cf45cfd314
commit
dbafb7c906
7 changed files with 20 additions and 27 deletions
|
@ -29,6 +29,7 @@ class MeowConfig(Config):
|
|||
self.filter_override = set(meow_config.get("filter_override", []))
|
||||
self.timestamp_override = set(meow_config.get("timestamp_override", []))
|
||||
self.admin_api_register_invalid = meow_config.get("admin_api_register_invalid", True)
|
||||
self.appservice_batch_send_any = meow_config.get("appservice_batch_send_any", False)
|
||||
|
||||
def generate_config_section(self, config_dir_path, server_name, **kwargs):
|
||||
return """
|
||||
|
@ -46,4 +47,6 @@ class MeowConfig(Config):
|
|||
# - "@you:example.com"
|
||||
# # Whether or not the admin API should be able to register invalid user IDs.
|
||||
# admin_api_register_invalid: true
|
||||
# # Whether appservices should be allowed to use MSC2716 batch sending as any local user.
|
||||
# appservice_batch_send_any: false
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue