aboutsummaryrefslogtreecommitdiffstats
path: root/sms-forward
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2021-04-27 21:51:32 +0200
committerGravatar Christian Hesse <mail@eworm.de>2021-04-28 13:58:37 +0200
commit0d249d6da4fa1e1a02b7bdaee8be6c4be72b942b (patch)
tree6943ba21042cafa6764df802d6682930a6ace280 /sms-forward
parente6223a3661af4ee3888f2656d103a865eb6ab27a (diff)
sms-forward: pass origin to $SendNotification2
Diffstat (limited to 'sms-forward')
-rw-r--r--sms-forward3
1 files changed, 2 insertions, 1 deletions
diff --git a/sms-forward b/sms-forward
index 55103fc..2eecc07 100644
--- a/sms-forward
+++ b/sms-forward
@@ -51,7 +51,8 @@ $WaitFullyConnected;
:if ([ :len $Messages ] > 0) do={
:local Count [ :len $Delete ];
- $SendNotification2 ({ subject=([ $SymbolForNotification "incoming-envelope" ] . "SMS Forwarding from " . $Phone); \
+ $SendNotification2 ({ origin=$0; \
+ subject=([ $SymbolForNotification "incoming-envelope" ] . "SMS Forwarding from " . $Phone); \
message=("Received " . [ $IfThenElse ($Count = 1) "this message" ("these " . $Count . " messages") ] . \
" by " . $Identity . " from " . $Phone . ":" . $Messages) });
:foreach Sms in=$Delete do={