From 241ac5a2d88cf9de252701554a99486bdd0bc0db Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Sat, 4 Jan 2025 17:19:26 -0500 Subject: [PATCH] Fix 'LIST ACTIVE' to always return message ranges --- lib/xenu_nntp/session.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/lib/xenu_nntp/session.py b/lib/xenu_nntp/session.py index d1107ab..1738378 100644 --- a/lib/xenu_nntp/session.py +++ b/lib/xenu_nntp/session.py @@ -330,15 +330,10 @@ class Session(Connection): return row[0] def _cmd_list_active(self): - now = datetime.datetime.now(datetime.UTC) - self.respond(ResponseCode.NNTP_INFORMATION_FOLLOWS) for newsgroup in self.each_newsgroup(): - last_active = self._newsgroup_last_active(newsgroup) - - if now - last_active < datetime.timedelta(days=1): - self.print_newsgroup_summary(newsgroup) + self.print_newsgroup_summary(newsgroup) return self.end()