about summary refs log tree commit homepage
path: root/lib/PublicInbox/SearchView.pm
diff options
context:
space:
mode:
authorEric Wong <e@yhbt.net>2020-07-05 23:27:54 +0000
committerEric Wong <e@yhbt.net>2020-07-06 20:01:15 +0000
commitba212558b86874d197c86e2acd0776b5b095ee5b (patch)
tree9d82f350fd372c3906f51dca0c69c792b7ebbdf7 /lib/PublicInbox/SearchView.pm
parent5afb24f06627641e3fed608e807b5ab628cda348 (diff)
downloadpublic-inbox-ba212558b86874d197c86e2acd0776b5b095ee5b.tar.gz
This simplifies the primary callers of eml_entry while only making
mknews.perl worse.
Diffstat (limited to 'lib/PublicInbox/SearchView.pm')
-rw-r--r--lib/PublicInbox/SearchView.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/PublicInbox/SearchView.pm b/lib/PublicInbox/SearchView.pm
index 623b16fb..84c04c6c 100644
--- a/lib/PublicInbox/SearchView.pm
+++ b/lib/PublicInbox/SearchView.pm
@@ -294,8 +294,7 @@ sub mset_thread {
 sub mset_thread_i {
         my ($ctx, $eml) = @_;
         $ctx->zmore($ctx->html_top) if exists $ctx->{-html_tip};
-        $eml and return PublicInbox::View::eml_entry($ctx, $eml,
-                                                scalar @{$ctx->{msgs}});
+        $eml and return PublicInbox::View::eml_entry($ctx, $eml);
         my $smsg = shift @{$ctx->{msgs}} or
                 $ctx->zmore(${delete($ctx->{skel})});
         $smsg;