]> Sergey Matveev's repositories - public-inbox.git/commit
address: filter out domain from address-as-name idents
authorEric Wong <e@80x24.org>
Fri, 1 Jul 2016 06:11:13 +0000 (06:11 +0000)
committerEric Wong <e@80x24.org>
Fri, 1 Jul 2016 06:11:13 +0000 (06:11 +0000)
commitc056071159932b3b9c8454314887b6f45de2ae0f
tree94bfc8e945f84ca25fdef98c6c372f7dac0645de
parenta5719018b856d1763ca7faebfc0ffa82fb57320a
address: filter out domain from address-as-name idents

It seems common for address entries to end up as:
"foo@example" <foo@example>

Avoid needlessly displaying the domain name in that case.
lib/PublicInbox/Address.pm
t/address.t