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:
parent
d7789a4743
commit
718c6f4f6b
1 changed files with 2 additions and 7 deletions
|
@ -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=$(ynh_app_setting_get --app=$app --key=encryption)
|
||||||
encryption_default=$(ynh_app_setting_get --app=$app --key=encryption_default)
|
encryption_default=$(ynh_app_setting_get --app=$app --key=encryption_default)
|
||||||
print_level=$(ynh_app_setting_get --app=$app --key=print_level)
|
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)
|
listrelay=$(ynh_app_setting_get --app=$app --key=listrelay)
|
||||||
listuser=$(ynh_app_setting_get --app=$app --key=listuser)
|
listuser=$(ynh_app_setting_get --app=$app --key=listuser)
|
||||||
listadmin=$(ynh_app_setting_get --app=$app --key=listadmin)
|
listadmin=$(ynh_app_setting_get --app=$app --key=listadmin)
|
||||||
|
@ -166,12 +167,6 @@ then
|
||||||
ynh_app_setting_set --app=$app --key=listrelay --value=$listrelay
|
ynh_app_setting_set --app=$app --key=listrelay --value=$listrelay
|
||||||
fi
|
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" ]
|
if [ -z "$listuser" ]
|
||||||
then
|
then
|
||||||
listuser=$(ynh_app_setting_get --app=$app --key=botusers)
|
listuser=$(ynh_app_setting_get --app=$app --key=botusers)
|
||||||
|
|
Loading…
Reference in a new issue