lib/PublicInbox/NNTP.pm | 4 ++-- diff --git a/lib/PublicInbox/NNTP.pm b/lib/PublicInbox/NNTP.pm index 2f821fa6b9b51902ddc221c9ca3f225d06e708af..2197d7588721048fcbb9015e3b46bfddce13ad40 100644 --- a/lib/PublicInbox/NNTP.pm +++ b/lib/PublicInbox/NNTP.pm @@ -147,7 +147,7 @@ my ($self, $wildmat) = @_; wildmat2re($wildmat); foreach my $ng (@{$self->{nntpd}->{grouplist}}) { $ng->{newsgroup} =~ $wildmat or next; - my $c = eval { $ng->mm->created_at } || time; + my $c = eval { $ng->uidvalidity } // time; more($self, "$ng->{newsgroup} $c $ng->{-primary_address}"); } } @@ -255,7 +255,7 @@ # TODO dists more($self, '231 list of new newsgroups follows'); foreach my $ng (@{$self->{nntpd}->{grouplist}}) { - my $c = eval { $ng->mm->created_at } || 0; + my $c = eval { $ng->uidvalidity } // 0; next unless $c > $ts; group_line($self, $ng); }