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:
Slavi Pantaleev
2024-12-21 13:57:01 +02:00
parent c95d181c9a
commit 3b81f09748
2 changed files with 27 additions and 2 deletions

View File

@ -1,4 +1,11 @@
{
"defaultHomeserver": 0,
"homeserverList": {{ matrix_client_cinny_config_homeserverList | to_json }}
"defaultHomeserver": {{ matrix_client_cinny_config_defaultHomeserver | to_json }},
"homeserverList": {{ matrix_client_cinny_config_homeserverList | to_json }},
"allowCustomHomeservers": {{ matrix_client_cinny_config_allowCustomHomeservers | to_json }},
"featuredCommunities": {
"spaces": {{ matrix_client_cinny_config_featuredCommunities_spaces | to_json }},
"rooms": {{ matrix_client_cinny_config_featuredCommunities_rooms | to_json }},
"servers": {{ matrix_client_cinny_config_featuredCommunities_servers | to_json }},
"openAsDefault": {{ matrix_client_cinny_config_featuredCommunities_openAsDefault | to_json }}
}
}