about summary refs log tree commit homepage
path: root/lib/PublicInbox/Feed.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-06-25 10:56:59 +0000
committerEric Wong <e@80x24.org>2016-06-25 10:56:59 +0000
commit13eda978e8937065575623d045f78592cbb6d022 (patch)
tree34dea0c86802f8808b18a2d70fafb5f23000c740 /lib/PublicInbox/Feed.pm
parentdde6d1169d8f9d6aaede9730144d1f60be2134c8 (diff)
downloadpublic-inbox-13eda978e8937065575623d045f78592cbb6d022.tar.gz
Address::names is sufficient to handle what from_name did.
Diffstat (limited to 'lib/PublicInbox/Feed.pm')
-rw-r--r--lib/PublicInbox/Feed.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Feed.pm b/lib/PublicInbox/Feed.pm
index 455b8e23..8e233061 100644
--- a/lib/PublicInbox/Feed.pm
+++ b/lib/PublicInbox/Feed.pm
@@ -317,7 +317,7 @@ sub feed_entry {
 
         my $from = $header_obj->header('From') or return;
         my ($email) = PublicInbox::Address::emails($from);
-        my $name = PublicInbox::Address::from_name($from);
+        my $name = join(', ',PublicInbox::Address::names($from));
         $name = ascii_html($name);
         $email = ascii_html($email);