1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mautrix_signal_ynh.git synced 2024-09-03 19:46:07 +02:00

debug enable_relaybot

This commit is contained in:
Gredin67 2023-01-10 11:25:05 +01:00 committed by GitHub
parent d7789a4743
commit 718c6f4f6b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,7 +47,8 @@ federate_rooms=$(ynh_app_setting_get --app=$app --key=federate_rooms)
encryption=$(ynh_app_setting_get --app=$app --key=encryption)
encryption_default=$(ynh_app_setting_get --app=$app --key=encryption_default)
print_level=$(ynh_app_setting_get --app=$app --key=print_level)
enable_relaybot=$(ynh_app_setting_get --app=$app --key=enable_relaybot)
enable_relaybot="true"
#enable_relaybot=$(ynh_app_setting_get --app=$app --key=enable_relaybot)
listrelay=$(ynh_app_setting_get --app=$app --key=listrelay)
listuser=$(ynh_app_setting_get --app=$app --key=listuser)
listadmin=$(ynh_app_setting_get --app=$app --key=listadmin)
@ -166,12 +167,6 @@ then
ynh_app_setting_set --app=$app --key=listrelay --value=$listrelay
fi
if [ -z "$enable_relaybot" ]
then
enable_relaybot="true"
ynh_app_setting_set --app=$app --key=enable_relaybot --value=$enable_relaybot
fi
if [ -z "$listuser" ]
then
listuser=$(ynh_app_setting_get --app=$app --key=botusers)