aboutsummaryrefslogtreecommitdiffstats
path: root/sms-forward
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2018-08-06 16:05:34 +0200
committerGravatar Christian Hesse <mail@eworm.de>2018-08-06 16:05:34 +0200
commita6d4e5eec8c7a7a78e883941d13caf3fb9623ea9 (patch)
tree7df0b4a32006ffda914ec9165f850bd2f8ef5c91 /sms-forward
parentc9c87cac4137242ece4a55955e8400592440fb55 (diff)
add script 'sms-action'
Diffstat (limited to 'sms-forward')
-rw-r--r--sms-forward2
1 files changed, 1 insertions, 1 deletions
diff --git a/sms-forward b/sms-forward
index 64b8355..cbf445c 100644
--- a/sms-forward
+++ b/sms-forward
@@ -13,7 +13,7 @@
}
# forward SMS in a loop
-:foreach sms in=[ / tool sms inbox find ] do={
+:foreach sms in=[ / tool sms inbox find where message~"^([^:][^c][^m][^d][^ ])" ] do={
:local message [ / tool sms inbox get $sms message ];
:local phone [ / tool sms inbox get $sms phone ];
:local timestamp [ / tool sms inbox get $sms timestamp ];