commit 6fb12de214f37b313ac899aa1918d2285e6735be
parent 47f5ea7b595cf226d5696162e1a7336b83dfbf28
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 ) {