From 0d249d6da4fa1e1a02b7bdaee8be6c4be72b942b Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 27 Apr 2021 21:51:32 +0200 Subject: sms-forward: pass origin to $SendNotification2 --- sms-forward | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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={ -- cgit v1.2.3-54-g00ecf