1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/synapse_ynh.git synced 2024-09-03 20:26:38 +02:00

Update upgrade

This commit is contained in:
Gredin67 2023-01-09 12:03:14 +01:00 committed by GitHub
parent c7208ce272
commit 8e153d4fd6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -144,11 +144,6 @@ if [ -z $report_stats ]; then
ynh_app_setting_set --app=$app --key=report_stats --value=$report_stats
fi
if [ -z $allow_public_rooms ]; then
allow_public_rooms="false"
ynh_app_setting_set --app=$app --key=allow_public_rooms --value=$allow_public_rooms
fi
if [ -z $is_free_registration ]; then
is_free_registration=$(ynh_app_setting_get --app=$app --key=is_""public)
ynh_app_setting_set --app=$app --key=is_free_registration --value=$is_free_registration
@ -182,6 +177,10 @@ fi
#=================================================
allow_public_rooms=$(ynh_app_setting_get --app=$app --key=allow_public_rooms)
if [ -z $allow_public_rooms ]; then
allow_public_rooms="false"
fi
# Get app name of first Element Instance
element_instance="element"
element_domain=$(ynh_app_setting_get --app $element_instance --key domain)