From 8c4505904f84411442b8b855a111da1461b57c45 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 13 Jul 2019 21:42:46 +0000 Subject: nntp: support optional [range] arg in LISTGROUP RFC3977 6.1.2.2 LISTGROUP allows a [range] arg after [group], and supporting it allows NNTP support in neomutt to work again. Tested with NeoMutt 20170113 (1.7.2) on Debian stretch (oldstable) --- t/nntpd.t | 1 + 1 file changed, 1 insertion(+) (limited to 't') diff --git a/t/nntpd.t b/t/nntpd.t index bebecc69..b47cf7db 100644 --- a/t/nntpd.t +++ b/t/nntpd.t @@ -100,6 +100,7 @@ EOF is_deeply($list, { $group => [ qw(1 1 n) ] }, 'LIST works'); is_deeply([$n->group($group)], [ qw(0 1 1), $group ], 'GROUP works'); is_deeply($n->listgroup($group), [1], 'listgroup OK'); + # TODO: Net::NNTP::listgroup does not support range at the moment { my $expect = [ qw(Subject: From: Date: Message-ID: -- cgit v1.2.3-24-ge0c7