global-functions: $SymbolForNotification: support multiple symbols...

... with comma-separated list.
This commit is contained in:
Christian Hesse 2020-10-27 00:30:40 +01:00
parent fee2523a22
commit 7f356d76bf

View file

@ -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