diff options
author | Christian Hesse <mail@eworm.de> | 2022-07-13 11:35:03 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2022-07-13 11:35:03 +0200 |
commit | f34c353b5f575bdaf20c7cd2a372e0118362d815 (patch) | |
tree | d0f20629eb06c4a30489dc0bd2b4b0e6f6b854aa | |
parent | 7f85e6971332f1c6f628fe04b9da7a36c59bd2d7 (diff) |
mod/notification-telegram: update initialization of empty array
Having the parenthesis here is important for valid syntax!
-rw-r--r-- | mod/notification-telegram | 2 |
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 ] . \ |