1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/element_ynh.git synced 2024-09-03 18:36:08 +02:00

fix default home_server

This commit is contained in:
Éric Gaspar 2022-07-12 15:21:59 +02:00
parent ae2164f64f
commit 98ef085ad0
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 1 additions and 14 deletions

View file

@ -1,13 +0,0 @@
version = "1.0"
[main]
name = "Element configuration"
[main.config]
name = "Server Configuration"
[main.config.default_home_server]
ask = "Choose a home server"
type = "string"
help = "Choose your default Matrix server's domain name. Default is https://matrix.org"
bind = "m.homeserver:__FINALPATH__/config.json"

View file

@ -48,7 +48,7 @@ ynh_script_progression --message="Ensuring downward compatibility..." --weight=1
# If default_home_server doesn't exist, create it
if [ -z "$default_home_server" ]; then
default_home_server="https://matrix-client.matrix.org"
default_home_server="https://matrix.org"
ynh_app_setting_set --app=$app --key=default_home_server --value=$default_home_server
fi