mod/notification-telegram: update initialization of empty array

Having the parenthesis here is important for valid syntax!
This commit is contained in:
Christian Hesse 2022-07-13 11:35:03 +02:00
parent 7f85e69713
commit f34c353b5f

View file

@ -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 ] . \