aboutsummaryrefslogtreecommitdiffstats
path: root/mod/notification-telegram
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2022-07-13 11:57:47 +0200
committerGravatar Christian Hesse <mail@eworm.de>2022-07-13 11:57:47 +0200
commitb67b9ec1c17c47fca970449c13c6e94f42a1dcb6 (patch)
tree95a8834df649bf05a5ab3066be7804f52f81515b /mod/notification-telegram
parent5b2ea9b1a4f57bc7c61d06cd8b1e0a6452f031a8 (diff)
parent6fa15257003394d495f84a8dedebadfa8e1fa375 (diff)
Merge branch 'empty-array' into next
Diffstat (limited to 'mod/notification-telegram')
-rw-r--r--mod/notification-telegram2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/notification-telegram b/mod/notification-telegram
index 493aa00..8c4cd65 100644
--- a/mod/notification-telegram
+++ b/mod/notification-telegram
@@ -139,7 +139,7 @@
$LogPrintExit2 info $0 ("Failed sending telegram notification! Queuing...") false;
:if ([ :typeof $TelegramQueue ] = "nothing") do={
- :set TelegramQueue [ :toarray "" ];
+ :set TelegramQueue ({});
}
:set Text ($Text . [ $UrlEncode ("\n" . [ $SymbolForNotification "alarm-clock" ] . \
[ $EscapeMD ("This message was queued since " . [ /system/clock/get date ] . \