global-functions: introduce and use $SymbolForNotification

This commit is contained in:
Christian Hesse 2020-07-17 08:07:12 +02:00
parent 0e7b2d3ac7
commit 075859c898
9 changed files with 35 additions and 18 deletions

View file

@ -11,7 +11,7 @@
:global LogPrintExit;
:global MailServerIsUp;
:global SendNotification;
:global SymbolByUnicodeName;
:global SymbolForNotification;
:global WaitFullyConnected;
:if ([ / tool sms get receive-enabled ] = false) do={
@ -47,7 +47,7 @@ $WaitFullyConnected;
}
:if ([ :len $Messages ] > 0) do={
$SendNotification ([ $SymbolByUnicodeName "incoming-envelope" ] . " SMS Forwarding from " . $Phone) \
$SendNotification ([ $SymbolForNotification "incoming-envelope" ] . "SMS Forwarding from " . $Phone) \
("These message(s) were received by " . $Identity . \
" from " . $Phone . ":" . $Messages);
:foreach Sms in=$Delete do={