Skip to content

Commit

Permalink
Stupidly enough, previous commit didn't integrate date filtering, whi…
Browse files Browse the repository at this point in the history
…ch made it rewrite all the messages (yes, that's rather stupid) (see #34)
  • Loading branch information
Riduidel committed Nov 19, 2019
1 parent 17271bd commit 126c701
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/feed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ impl Feed {
extracted.iter()
.filter(|e| e.is_ok())
.map(|e| e.as_ref().unwrap())
.filter(|m| m.last_date>self.last_updated)
.for_each(|e| if !settings.do_not_save { e.write_to_imap(&self, settings) } );
return Feed {
url: self.url.clone(),
Expand Down

0 comments on commit 126c701

Please sign in to comment.