From c5d3dc3122323bda426de9251fcbdb2561570c42 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 28 Dec 2018 00:22:12 +0000 Subject: reply: allow ":none=$REASON" in "replyto" config This can be useful for configuring archives of lists which are no longer active. --- t/reply.t | 5 +++++ 1 file changed, 5 insertions(+) (limited to 't') diff --git a/t/reply.t b/t/reply.t index de31f880..cbcd7229 100644 --- a/t/reply.t +++ b/t/reply.t @@ -76,4 +76,9 @@ $exp = [ is_deeply($arg, $exp, 'address obfuscation works'); is($link, '', 'no mailto: link given'); +$ibx->{replyto} = ':none=dead list'; +$ibx->{obfuscate} = 1; +($arg, $link) = PublicInbox::Reply::mailto_arg_link($ibx, $hdr); +is($$arg, 'dead list', ':none= works'); + done_testing(); -- cgit v1.2.3-24-ge0c7