diff options
author | Christian Hesse <mail@eworm.de> | 2018-11-27 14:08:14 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2018-11-28 21:19:39 +0100 |
commit | 6e4d7159378259a521e467504509de871381d078 (patch) | |
tree | 9fcf9938cbf64949f5022a268b9249e3b0cbba17 /sms-forward | |
parent | c4f8c1ad52cd629f39009848610d31b320bfda03 (diff) |
global-functions: add identity tag in $SendNotification
... and send subject in telegram message.
Diffstat (limited to 'sms-forward')
-rw-r--r-- | sms-forward | 2 |
1 files changed, 1 insertions, 1 deletions
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" . \ |