lib/PublicInbox/ExtMsg.pm | 2 +- lib/PublicInbox/Hval.pm | 2 +- lib/PublicInbox/View.pm | 4 ++-- diff --git a/lib/PublicInbox/ExtMsg.pm b/lib/PublicInbox/ExtMsg.pm index 73bd4b17fe9c983d632f9e70b1b0bef1f64866b4..62381e9e5e8c4457c1546919d3c9b9d87dc88edd 100644 --- a/lib/PublicInbox/ExtMsg.pm +++ b/lib/PublicInbox/ExtMsg.pm @@ -99,7 +99,7 @@ } } my $code = 404; - my $h = PublicInbox::Hval->new_msgid($mid, 1); + my $h = PublicInbox::Hval->new_msgid($mid); my $href = $h->as_href; my $html = $h->as_html; my $title = "Message-ID <$html> not found"; diff --git a/lib/PublicInbox/Hval.pm b/lib/PublicInbox/Hval.pm index 9ba780975cf2d5b1a5ca5188affbe3efa891acf2..652aef3daee55ab926e31262e0b722b1efbe568e 100644 --- a/lib/PublicInbox/Hval.pm +++ b/lib/PublicInbox/Hval.pm @@ -31,7 +31,7 @@ }, $class; } sub new_msgid { - my ($class, $msgid, $no_compress) = @_; + my ($class, $msgid) = @_; $msgid = mid_clean($msgid); $class->new($msgid, $msgid); } diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm index e8395ae91fb1c9558cccefa8abda7cefd3f13bba..dc6096f1df8a29f661ffa162efcdf9298c5eb65f 100644 --- a/lib/PublicInbox/View.pm +++ b/lib/PublicInbox/View.pm @@ -551,7 +551,7 @@ my $rv = ''; my $irt = in_reply_to($hdr); if (defined $irt) { - my $v = PublicInbox::Hval->new_msgid($irt, 1); + my $v = PublicInbox::Hval->new_msgid($irt); my $html = $v->as_html; my $href = $v->as_href; $rv .= "In-Reply-To: <"; @@ -661,7 +661,7 @@ $irt .= $idx; } sub linkify_ref_nosrch { - my $v = PublicInbox::Hval->new_msgid($_[0], 1); + my $v = PublicInbox::Hval->new_msgid($_[0]); my $html = $v->as_html; my $href = $v->as_href; "<$html>";