]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/Feed.pm
www: fix unindexed v1 inboxes w/ public-inbox-httpd
[public-inbox.git] / lib / PublicInbox / Feed.pm
index ee579f6d9b329fdddc626cd9f50f52a2549f37ff..e0810420809e3eb8fce5216eff08e47c83a53add 100644 (file)
@@ -51,7 +51,10 @@ sub new_html_i {
        my ($ctx, $eml) = @_;
        $ctx->zmore($ctx->html_top) if exists $ctx->{-html_tip};
 
-       $eml and return PublicInbox::View::eml_entry($ctx, $eml);
+       if ($eml) {
+               $ctx->{smsg}->populate($eml) if !$ctx->{ibx}->{over};
+               return PublicInbox::View::eml_entry($ctx, $eml);
+       }
        my $smsg = shift @{$ctx->{msgs}} or
                $ctx->zmore(PublicInbox::View::pagination_footer(
                                                $ctx, './new.html'));