From: NeilBrown Date: Mon, 16 Dec 2013 02:24:17 +0000 (+1100) Subject: sms: extend search to look in contexts of text messages X-Git-Url: http://git.neil.brown.name/?a=commitdiff_plain;h=144d07d57f1d98d1f110cd820d7fef4168f4402c;p=plato.git sms: extend search to look in contexts of text messages --- 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)