Add TELEGRAM_NO_FILE_LIMIT env variable

This commit is contained in:
Marco Aceti 2020-11-12 23:45:30 +01:00
parent b3c0c403e8
commit 5b29503d9c
Signed by untrusted user: MarcoBuster
GPG Key ID: E4ABA81298E4F14D
1 changed files with 3 additions and 0 deletions

View File

@ -36,6 +36,9 @@ fi
if [ -n "$TELEGRAM_LOCAL" ]; then
CUSTOM_ARGS="${CUSTOM_ARGS} --local"
fi
if [ -n "$TELEGRAM_NO_FILE_LIMIT" ]; then
CUSTOM_ARGS="${CUSTOM_ARGS} --no-file-limit"
fi
if [ -n "$TELEGRAM_INSECURE" ]; then
CUSTOM_ARGS="${CUSTOM_ARGS} --insecure"
fi