mirror of
https://github.com/YunoHost-Apps/mautrix_telegram_ynh.git
synced 2024-09-03 19:45:55 +02:00
FIX: upgrade and restore had the user not set
This commit is contained in:
parent
01ed7cb4f9
commit
a71be4cbbe
2 changed files with 3 additions and 0 deletions
|
@ -28,6 +28,8 @@ ynh_script_progression --message="Loading installation settings..." --time --wei
|
||||||
|
|
||||||
app=$YNH_APP_INSTANCE_NAME
|
app=$YNH_APP_INSTANCE_NAME
|
||||||
|
|
||||||
|
mautrix_bridge_user=$app
|
||||||
|
|
||||||
domain=$(ynh_app_setting_get --app=$app --key=domain)
|
domain=$(ynh_app_setting_get --app=$app --key=domain)
|
||||||
final_path=$(ynh_app_setting_get --app=$app --key=final_path)
|
final_path=$(ynh_app_setting_get --app=$app --key=final_path)
|
||||||
mautrix_bridge_db_name=$(ynh_app_setting_get --app=$app --key=mautrix_bridge_db_name)
|
mautrix_bridge_db_name=$(ynh_app_setting_get --app=$app --key=mautrix_bridge_db_name)
|
||||||
|
|
|
@ -23,6 +23,7 @@ botname=$(ynh_app_setting_get --app=$app --key=botname)
|
||||||
synapse_instance=$(ynh_app_setting_get --app=$app --key=synapse_instance)
|
synapse_instance=$(ynh_app_setting_get --app=$app --key=synapse_instance)
|
||||||
app_service_registration_path=$(ynh_app_setting_get --app=$app --key=app_service_registration_path)
|
app_service_registration_path=$(ynh_app_setting_get --app=$app --key=app_service_registration_path)
|
||||||
encryption=$(ynh_app_setting_get --app=$app --key=encryption)
|
encryption=$(ynh_app_setting_get --app=$app --key=encryption)
|
||||||
|
mautrix_bridge_user=$app
|
||||||
mautrix_bridge_db_name=$(ynh_app_setting_get --app=$app --key=mautrix_bridge_db_name)
|
mautrix_bridge_db_name=$(ynh_app_setting_get --app=$app --key=mautrix_bridge_db_name)
|
||||||
botadmin=$(ynh_app_setting_get --app=$app --key=botadmin)
|
botadmin=$(ynh_app_setting_get --app=$app --key=botadmin)
|
||||||
botusers=$(ynh_app_setting_get --app=$app --key=botusers)
|
botusers=$(ynh_app_setting_get --app=$app --key=botusers)
|
||||||
|
|
Loading…
Reference in a new issue