don't write articles that are marked read to the cache
This commit is contained in:
parent
d2b51cd188
commit
bdf09c40fc
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue