1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/element_ynh.git synced 2024-09-03 18:36:08 +02:00
This commit is contained in:
ericgaspar 2022-01-14 12:51:07 +01:00
parent ba86cd4415
commit 3c5f7bfe54
No known key found for this signature in database
GPG key ID: 574F281483054D44
4 changed files with 8 additions and 6 deletions

View file

@ -2,7 +2,7 @@
; Manifest ; Manifest
domain="domain.tld" domain="domain.tld"
path="/path" path="/path"
default_home_server="matrix-client.matrix.org" default_home_server="https://matrix-client.matrix.org"
is_public=1 is_public=1
; Checks ; Checks
pkg_linter=1 pkg_linter=1

View file

@ -1,7 +1,7 @@
{ {
"default_server_config": { "default_server_config": {
"m.homeserver": { "m.homeserver": {
"base_url": "https://__DEFAULT_HOME_SERVER__", "base_url": "__DEFAULT_HOME_SERVER__",
"server_name": "matrix.org" "server_name": "matrix.org"
}, },
"m.identity_server": { "m.identity_server": {

View file

@ -8,4 +8,6 @@ name = "Element configuration"
[main.config.default_home_server] [main.config.default_home_server]
ask = "Choose a home server" ask = "Choose a home server"
type = "string" type = "url"
default = "https://matrix-client.matrix.org"
bind = "base_url:__FINALPATH__/config.json"

View file

@ -41,13 +41,13 @@
}, },
{ {
"name": "default_home_server", "name": "default_home_server",
"type": "string", "type": "url",
"ask": { "ask": {
"en": "Choose a default home server", "en": "Choose a default home server",
"fr": "Choisissez un serveur par défault" "fr": "Choisissez un serveur par défault"
}, },
"example": "my-own-homeserver.tld", "example": "https://my-own-homeserver.tld",
"default": "matrix-client.matrix.org" "default": "https://matrix-client.matrix.org"
}, },
{ {
"name": "is_public", "name": "is_public",