From 98ef085ad02ca1f8fb0eefc9cde269e45c35462a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Tue, 12 Jul 2022 15:21:59 +0200 Subject: [PATCH] fix default home_server --- config_panel.toml.example | 13 ------------- scripts/upgrade | 2 +- 2 files changed, 1 insertion(+), 14 deletions(-) delete mode 100644 config_panel.toml.example diff --git a/config_panel.toml.example b/config_panel.toml.example deleted file mode 100644 index 91d483a..0000000 --- a/config_panel.toml.example +++ /dev/null @@ -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" diff --git a/scripts/upgrade b/scripts/upgrade index ba4ec4c..2091033 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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