]> Sergey Matveev's repositories - public-inbox.git/commitdiff
view: fixup bad reference to new_msgid
authorEric Wong <e@80x24.org>
Thu, 30 Jun 2016 09:06:05 +0000 (09:06 +0000)
committerEric Wong <e@80x24.org>
Thu, 30 Jun 2016 09:06:05 +0000 (09:06 +0000)
Oops, this endpoint needs testing :x

lib/PublicInbox/View.pm

index db2bd20f3a8e9b8920bb6042ffbeb4c51a97d122..b4f80d1d470bb991be73372d3bc36312f01c4128 100644 (file)
@@ -129,7 +129,7 @@ sub index_entry {
 
        my $mapping = $ctx->{mapping};
        if (!$mapping && $irt) {
-               my $mirt = PublicInbox::Hval->msgid($irt);
+               my $mirt = PublicInbox::Hval->new_msgid($irt);
                my $href = $upfx . $mirt->as_href . '/';
                my $html = $mirt->as_html;
                $rv .= qq(In-Reply-To: &lt;<a\nhref="$href/">$html</a>&gt;\n)