Closed GoogleCodeExporter closed 9 years ago
We search the AB for whatever email address is in the From header, without
considering that it may be the
empty string. AB, for its part, apparently does not have a notion of a contact
without an email address; such a
contact has an email address that is the empty string. Thus, our search for the
empty string finds such
contacts—hence, the problem.
The solution, as I see it, is to test whether the alleged email address is one.
Message.framework currently
makes NSStrings respond to -isLegalEmailAddress; as long as that's true, we can
use that. If that ever
changes, we can test whether the string contains an ‘@’ character. (We also
don't want to waste the AB
framework's time with strings containing only spaces, or other garbage.)
Original comment by prhgr...@gmail.com
on 17 Apr 2010 at 4:57
Original comment by prhgr...@gmail.com
on 17 Apr 2010 at 4:58
Fixed: http://growl.info/hg/growl-development/rev/c5b5af891333
Original comment by prhgr...@gmail.com
on 17 Apr 2010 at 5:23
Original issue reported on code.google.com by
prhgr...@gmail.com
on 17 Apr 2010 at 4:52