From 144d07d57f1d98d1f110cd820d7fef4168f4402c Mon Sep 17 00:00:00 2001 From: NeilBrown Date: Mon, 16 Dec 2013 13:24:17 +1100 Subject: [PATCH] sms: extend search to look in contexts of text messages --- sms/sendsms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sms/sendsms.py b/sms/sendsms.py index cd9768b..b586eae 100755 --- a/sms/sendsms.py +++ b/sms/sendsms.py @@ -1566,7 +1566,7 @@ class SendSMS(gtk.Window): continue if target == 'Recv' and e.source == 'LOCAL': continue - if patn and patn not in e.correspondent: + if patn and patn not in e.correspondent and patn not in e.text: if not self.book: continue n = book_name(self.book, e.correspondent) -- 2.39.5