about summary refs log tree commit homepage
path: root/lib/PublicInbox/Feed.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/PublicInbox/Feed.pm')
-rw-r--r--lib/PublicInbox/Feed.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/PublicInbox/Feed.pm b/lib/PublicInbox/Feed.pm
index b770a350..4c1056b4 100644
--- a/lib/PublicInbox/Feed.pm
+++ b/lib/PublicInbox/Feed.pm
@@ -53,9 +53,9 @@ sub new_html_i {
         my ($nr, $ctx) = @_;
         my $msgs = $ctx->{msgs};
         while (my $smsg = shift @$msgs) {
-                my $m = $ctx->{-inbox}->smsg_mime($smsg) or next;
-                my $more = scalar @$msgs;
-                return PublicInbox::View::index_entry($m, $ctx, $more);
+                my $eml = $ctx->{-inbox}->smsg_eml($smsg) or next;
+                return PublicInbox::View::eml_entry($ctx, $smsg, $eml,
+                                                        scalar @$msgs);
         }
         PublicInbox::View::pagination_footer($ctx, './new.html');
 }