aboutsummaryrefslogtreecommitdiffstats
path: root/global-functions
diff options
context:
space:
mode:
Diffstat (limited to 'global-functions')
-rw-r--r--global-functions3
1 files changed, 2 insertions, 1 deletions
diff --git a/global-functions b/global-functions
index 8777c18..d1fcf05 100644
--- a/global-functions
+++ b/global-functions
@@ -348,7 +348,8 @@
("https://api.telegram.org/bot" . $TelegramTokenId . "/sendMessage") \
http-data=("chat_id=" . ($Message->"chatid") . \
"&disable_notification=" . ($Message->"silent") . \
- "&parse_mode=" . ($Message->"parsemode") . "&text=" . ($Message->"text"));
+ "&disable_web_page_preview=true&parse_mode=" . ($Message->"parsemode") . \
+ "&text=" . ($Message->"text"));
:set ($TelegramQueue->$Id);
} on-error={
$LogPrintExit debug ("Sending queued Telegram message failed.") false;