don't write articles that are marked read to the cache

This commit is contained in:
Ward Wouts 2005-05-12 07:39:53 +00:00
parent d2b51cd188
commit bdf09c40fc

View file

@ -1,4 +1,4 @@
# $Dwarf: article.rb,v 1.112 2005/03/06 11:14:28 ward Exp $
# $Dwarf: article.rb,v 1.113 2005/05/10 20:51:06 ward Exp $
# $Source$
#
@ -686,7 +686,7 @@ def set_skip_ids(server, ids)
end
def group_update_newsrc(subject)
print "running group_update_newsrc\n";
# print "running group_update_newsrc\n";
for i in (0...@groups[subject]["messageinfo"].length)
if @connections[@groups[subject]["messageinfo"][i][:server]]
@connections[@groups[subject]["messageinfo"][i][:server]]["newsrc"].mark(@group, @groups[subject]["messageinfo"][i][:id])
@ -739,8 +739,8 @@ puts " #{Time.now}"
messid = $2
subject = $3
if first <= id_i and id_i <= last
outfile.puts(line)
unless excludes[server].has_key?(id_i)
outfile.puts(line)
if preselect(subject)
add(id_i, messid, subject, server)
end