aboutsummaryrefslogtreecommitdiffstats
path: root/rss.go
diff options
context:
space:
mode:
authorterminaldweller <devi@terminaldweller.com>2024-08-31 14:27:09 +0000
committerterminaldweller <devi@terminaldweller.com>2024-08-31 14:27:09 +0000
commiteb841f3c49bcc0bf591096e25b805e6b6616d21c (patch)
tree1f3d9291e10b253339d1666fb9b1586b0f11db53 /rss.go
parentadded rss functionality to milla, watchlists now allow you to give them a col... (diff)
downloadmilla-eb841f3c49bcc0bf591096e25b805e6b6616d21c.tar.gz
milla-eb841f3c49bcc0bf591096e25b805e6b6616d21c.zip
fixed a bug where we would still get previously seen feeds, updated the readme
Diffstat (limited to 'rss.go')
-rw-r--r--rss.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rss.go b/rss.go
index c1d65aa..6bc8933 100644
--- a/rss.go
+++ b/rss.go
@@ -56,7 +56,7 @@ func GetFeed(feed FeedConfig,
slices.SortFunc(parsedFeed.Items, sortFunc)
for _, item := range parsedFeed.Items {
- if item.PublishedParsed.Unix() >= newestFromDB {
+ if item.PublishedParsed.Unix() > newestFromDB {
client.Cmd.Message(channel, parsedFeed.Title+": "+item.Title)
}
}