From b0db9c7d52ff9b4aa5b046f737ed055211e0edca Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 28 Sep 2020 19:53:32 +0200 Subject: global-functions: $SendTelegram: scissors symbol for truncation --- global-functions | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/global-functions b/global-functions index 5aab671..e6eb93b 100644 --- a/global-functions +++ b/global-functions @@ -758,7 +758,7 @@ :local Text ("[" . $Identity . "] " . $Subject . "\n\n" . $Message); :if ([ :len $Text ] > 3968) do={ - :set Text ([ :pick $Text 0 3840 ] . "...\n\n" . [ $SymbolForNotification "warning-sign" ] . \ + :set Text ([ :pick $Text 0 3840 ] . "...\n\n" . [ $SymbolForNotification "scissors" ] . \ "The Telegram message was too long and has been truncated."); } :set Text [ $UrlEncode $Text ]; @@ -799,6 +799,7 @@ "lock-with-ink-pen"="\F0\9F\94\8F"; "mobile-phone"="\F0\9F\93\B1"; "pushpin"="\F0\9F\93\8C"; + "scissors"="\E2\9C\82"; "sparkles"="\E2\9C\A8"; "warning-sign"="\E2\9A\A0"; "white-heavy-check-mark"="\E2\9C\85" -- cgit v1.2.3-70-g09d2