diff options
author | Eric Wong <e@yhbt.net> | 2020-07-05 23:27:54 +0000 |
---|---|---|
committer | Eric Wong <e@yhbt.net> | 2020-07-06 20:01:15 +0000 |
commit | ba212558b86874d197c86e2acd0776b5b095ee5b (patch) | |
tree | 9d82f350fd372c3906f51dca0c69c792b7ebbdf7 /lib/PublicInbox/Feed.pm | |
parent | 5afb24f06627641e3fed608e807b5ab628cda348 (diff) | |
download | public-inbox-ba212558b86874d197c86e2acd0776b5b095ee5b.tar.gz |
This simplifies the primary callers of eml_entry while only making mknews.perl worse.
Diffstat (limited to 'lib/PublicInbox/Feed.pm')
-rw-r--r-- | lib/PublicInbox/Feed.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/PublicInbox/Feed.pm b/lib/PublicInbox/Feed.pm index 476d946f..bf095a2c 100644 --- a/lib/PublicInbox/Feed.pm +++ b/lib/PublicInbox/Feed.pm @@ -51,8 +51,7 @@ 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, - scalar @{$ctx->{msgs}}); + $eml and return PublicInbox::View::eml_entry($ctx, $eml); my $smsg = shift @{$ctx->{msgs}} or $ctx->zmore(PublicInbox::View::pagination_footer( $ctx, './new.html')); |