[leafnode-list] inaccurate response to GROUP command
Matthias Andree
matthias.andree at gmx.de
Thu Jul 22 13:52:49 CEST 2004
Brian Sammon schrieb am 2004-07-21:
> > If it is, you are lucky, the script is no longer necessary: since
> > v1.9.52, a simple "GROUP" command will refresh the subscription of a
> > subscribed group (but will not subscribe to an unsubscribed group until
> > after the pseudo article has been read).
>
> The problem is-- my newsreader doesn't use "GROUP" to check for new articles,
> it uses "LIST ACTIVE". My newsreader only uses "GROUP" if I enter the group,
> which I only do if there's new articles.
Which newsreader are you using? What does it do when the server doesn't
support LIST ACTIVE? (It's in RFC-2980, not RFC-977, and hence not
mandatory.)
> Actually-- I've been meaning to ask this for a while-- Is there a way to
> configure leafnode to have "LIST ACTIVE" with a single group refresh the
> subscription? Perhaps with a config-file directive?
How does this patch look to you?
It should apply fine on top of all 1.10.X versions.
diff -u -r1.113 nntpd.c
--- nntpd.c 20 Apr 2004 14:47:22 -0000 1.113
+++ nntpd.c 22 Jul 2004 11:51:11 -0000
@@ -768,8 +768,11 @@
}
} else {
g = findgroup(pattern);
- if (g)
+ if (g) {
printlist(g, what);
+ if (!is_pseudogroup(g) && isinteresting(pattern))
+ markinterest(pattern);
+ }
}
}
--
Matthias Andree
Encrypted mail welcome: my GnuPG key ID is 0x052E7D95 (PGP/MIME preferred)
More information about the leafnode-list
mailing list