diff --git a/scripts/upgrade b/scripts/upgrade index 038403f..cf77d39 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -11,7 +11,7 @@ source /usr/share/yunohost/helpers server_name=$(ynh_app_setting_get --app=$app --key=server_name) -synapse_db_name="matrix_$synapse_instance" +synapse_db_name="$(get_synapse_db_name $synapse_instance)" bot_synapse_db_user="@$botname:$server_name" appserviceid=$app