diff options
| author | AKP <abi@tdpain.net> | 2025-02-11 12:19:56 +0000 |
|---|---|---|
| committer | AKP <abi@tdpain.net> | 2025-02-11 12:19:56 +0000 |
| commit | 940680fc1b818436a05c51348e1e85ed9b46479b (patch) | |
| tree | 9a15cced143f3ab25d019fbc4281c00383cc75bc /walrss | |
| parent | 6b54dfa01d2f8f0bb0b27bbd0e56225150794b3c (diff) | |
Flip inverted boolean check
Diffstat (limited to 'walrss')
| -rw-r--r-- | walrss/internal/rss/processor.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/walrss/internal/rss/processor.go b/walrss/internal/rss/processor.go index 9dc7ff7..8a9885d 100644 --- a/walrss/internal/rss/processor.go +++ b/walrss/internal/rss/processor.go @@ -316,7 +316,7 @@ func filterFeedContent(st *state.State, interval time.Duration, feed *gofeed.Fee } else { for _, item := range feed.Items { - if _, found := knownItems[item.GUID]; found { + if _, found := knownItems[item.GUID]; !found { if item.PublishedParsed == nil { item.PublishedParsed = &time.Time{} } |
