aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2020-11-26 17:32:12 +0100
committerGravatar Christian Hesse <mail@eworm.de>2020-11-26 17:32:12 +0100
commitc93d1c4944fff937598ec2825869a02030362a9a (patch)
tree0d2f712447027503b07a9ba7f23bf33b2b6283e5
parent6b19cf2578fb840d286e6539fa82acbacbf6cca5 (diff)
global-functions: $SendTelegram: disable web page preview
-rw-r--r--global-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/global-functions b/global-functions
index b0b27c2..a058d69 100644
--- a/global-functions
+++ b/global-functions
@@ -825,7 +825,7 @@
/ tool fetch check-certificate=yes-without-crl output=none http-method=post \
("https://api.telegram.org/bot" . $TelegramTokenId . "/sendMessage") \
http-data=("chat_id=" . $ChatId . "&disable_notification=" . $Silent . \
- "&parse_mode=" . $ParseMode . "&text=" . $Text);
+ "&disable_web_page_preview=true&parse_mode=" . $ParseMode . "&text=" . $Text);
} on-error={
$LogPrintExit info ("Failed sending telegram notification! Queuing...") false;