From f34c353b5f575bdaf20c7cd2a372e0118362d815 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 13 Jul 2022 11:35:03 +0200 Subject: mod/notification-telegram: update initialization of empty array Having the parenthesis here is important for valid syntax! --- mod/notification-telegram | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ] . \ -- cgit v1.2.3-54-g00ecf