commit 968cfa882b517b23553ceb94037853e8de83abb0
parent 18bdfb6b6c4c69c79b7948c1ef70246737fa4e2e
Author: Andrej Kacian <ticho@claws-mail.org>
Date: Sat, 12 Jan 2019 11:35:49 +0100
Improve new feed item detection algorithm in RSSyl slightly
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/plugins/rssyl/rssyl_add_item.c b/src/plugins/rssyl/rssyl_add_item.c
@@ -125,6 +125,10 @@ static gint rssyl_cb_feed_compare(const FeedItem *a, const FeedItem *b)
if (title_eq && date_eq)
return 0;
+ /* Or if the url and title match. */
+ if (url_eq && title_eq)
+ return 0;
+
/* There is no timestamp and the url matches (or there is none),
* we need to compare titles, ... */
if( (no_url || url_eq) && no_date ) {