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:
parent
ae2164f64f
commit
98ef085ad0
2 changed files with 1 additions and 14 deletions
|
@ -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"
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue