]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/View.pm
replyto parameter support
[public-inbox.git] / lib / PublicInbox / View.pm
index 0d85581dfd966eed4a0e4e0db2f2817c2f0e1713..2d816408cee5ca7437cbe0b11fde8084f363f67e 100644 (file)
@@ -52,12 +52,13 @@ sub msg_reply {
         'https://en.wikipedia.org/wiki/Posting_style#Interleaved_style';
 
        my $info = '';
-       if (my $url = $ctx->{-inbox}->{infourl}) {
+       my $ibx = $ctx->{-inbox};
+       if (my $url = $ibx->{infourl}) {
                $url = PublicInbox::Hval::prurl($ctx->{env}, $url);
                $info = qq(\n  List information: <a\nhref="$url">$url</a>\n);
        }
 
-       my ($arg, $link) = PublicInbox::Reply::mailto_arg_link($hdr);
+       my ($arg, $link) = PublicInbox::Reply::mailto_arg_link($ibx, $hdr);
        push @$arg, '/path/to/YOUR_REPLY';
        $arg = ascii_html(join(" \\\n    ", '', @$arg));
        <<EOF