From 6e4d7159378259a521e467504509de871381d078 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 27 Nov 2018 14:08:14 +0100 Subject: global-functions: add identity tag in $SendNotification ... and send subject in telegram message. --- sms-forward | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sms-forward') diff --git a/sms-forward b/sms-forward index 644e6c9..cc7eccd 100644 --- a/sms-forward +++ b/sms-forward @@ -26,7 +26,7 @@ :if ($phone = $allowed && message~("^:cmd " . $secret . " script ")) do={ :log debug "Ignoring SMS, which starts a script."; } else={ - $SendNotification ("[" . $identity . "] SMS Forwarding") \ + $SendNotification ("SMS Forwarding") \ ("A message was received by " . $identity . ":\n\n" . \ "Phone: " . $phone . "\n" . \ "Timestamp: " . $timestamp . "\n" . \ -- cgit v1.2.3-70-g09d2