From 7f356d76bf5c76d98d3fc93c6471720b49750daf Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 27 Oct 2020 00:30:40 +0100 Subject: global-functions: $SymbolForNotification: support multiple symbols... ... with comma-separated list. --- global-functions | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/global-functions b/global-functions index f8716fe..f4b3ca6 100644 --- a/global-functions +++ b/global-functions @@ -874,7 +874,11 @@ :if ($NotificationsWithSymbols != true) do={ :return ""; } - :return ([ $SymbolByUnicodeName $1 ] . " "); + :local Return ""; + :foreach Symbol in=[ :toarray $1 ] do={ + :set Return ($Return . [ $SymbolByUnicodeName $Symbol ]); + } + :return ($Return . " "); } # check if system time is sync -- cgit v1.2.3-54-g00ecf