diff options
author | Christian Hesse <mail@eworm.de> | 2020-10-27 00:30:40 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2020-10-27 00:30:40 +0100 |
commit | 7f356d76bf5c76d98d3fc93c6471720b49750daf (patch) | |
tree | 65426cce0d7367d097abc6fce15f27872f10c5da | |
parent | fee2523a226e28e08dd2e2264ff857650a886702 (diff) |
global-functions: $SymbolForNotification: support multiple symbols...
... with comma-separated list.
-rw-r--r-- | global-functions | 6 |
1 files changed, 5 insertions, 1 deletions
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 |