Make various Cinny options configurable via dedicated variables
Provoked by https://github.com/etkecc/mrs/pull/4 I've discovered that Cinny supports various configuration options and it'd be better if we add support for them.
This commit is contained in:
@ -147,9 +147,27 @@ matrix_client_cinny_self_check_validate_certificates: true
|
||||
# See `matrix_client_cinny_config_homeserverList`.
|
||||
matrix_client_cinny_default_hs_url: ""
|
||||
|
||||
# Controls the `defaultHomeserver` value in the `config.json` file.
|
||||
matrix_client_cinny_config_defaultHomeserver: 0 # noqa var-naming
|
||||
|
||||
# Controls the `homeserverList` value in the `config.json` file.
|
||||
matrix_client_cinny_config_homeserverList: "{{ [matrix_client_cinny_default_hs_url] }}" # noqa var-naming
|
||||
|
||||
# Controls the `allowCustomHomeservers` value in the `config.json` file.
|
||||
matrix_client_cinny_config_allowCustomHomeservers: true # noqa var-naming
|
||||
|
||||
# Controls the `featuredCommunities.spaces` value in the `config.json` file.
|
||||
matrix_client_cinny_config_featuredCommunities_spaces: [] # noqa var-naming
|
||||
|
||||
# Controls the `featuredCommunities.rooms` value in the `config.json` file.
|
||||
matrix_client_cinny_config_featuredCommunities_rooms: [] # noqa var-naming
|
||||
|
||||
# Controls the `featuredCommunities.servers` value in the `config.json` file.
|
||||
matrix_client_cinny_config_featuredCommunities_servers: ["matrix.org"] # noqa var-naming
|
||||
|
||||
# Controls the `featuredCommunities.openAsDefault` value in the `config.json` file.
|
||||
matrix_client_cinny_config_featuredCommunities_openAsDefault: false # noqa var-naming
|
||||
|
||||
# Default Cinny configuration template which covers the generic use case.
|
||||
# You can customize it by controlling the various variables inside it.
|
||||
#
|
||||
|
Reference in New Issue
Block a user