From 00db45c43436dde25f63abcaa969e29479204b82 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Mon, 25 Oct 2021 20:48:10 -0400 Subject: www: mirror: fix rendering of NNTP URLs As of commit 738c4a65, the code for reporting NNTP information in _/text/mirror/ incorrectly uses ->imap_url rather than ->nntp_url. Fixes: 738c4a65719e6278 ("www: various help text updates") --- lib/PublicInbox/WwwText.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/PublicInbox/WwwText.pm b/lib/PublicInbox/WwwText.pm index 211ee8c9..2b4e69fe 100644 --- a/lib/PublicInbox/WwwText.pm +++ b/lib/PublicInbox/WwwText.pm @@ -284,7 +284,7 @@ sub _add_imap_nntp_urls ($$) { # each subfolder (starting with `0') holds 50K messages at most EOM } - $urls = $ctx->{ibx}->imap_url($ctx); + $urls = $ctx->{ibx}->nntp_url($ctx); if (@$urls) { $$txt .= "\n"; $$txt .= @$urls == 1 ? 'Newsgroup' : 'Newsgroups are'; -- cgit v1.2.3-24-ge0c7