[Commits] [SCM] claws branch, master, updated. 3.17.3-38-g968cfa8

ticho at claws-mail.org ticho at claws-mail.org
Sat Jan 12 11:36:58 CET 2019


The branch, master has been updated
       via  968cfa882b517b23553ceb94037853e8de83abb0 (commit)
      from  18bdfb6b6c4c69c79b7948c1ef70246737fa4e2e (commit)

Summary of changes:
 src/plugins/rssyl/rssyl_add_item.c |    4 ++++
 1 file changed, 4 insertions(+)


- Log -----------------------------------------------------------------
commit 968cfa882b517b23553ceb94037853e8de83abb0
Author: Andrej Kacian <ticho at claws-mail.org>
Date:   Sat Jan 12 11:35:49 2019 +0100

    Improve new feed item detection algorithm in RSSyl slightly

diff --git a/src/plugins/rssyl/rssyl_add_item.c b/src/plugins/rssyl/rssyl_add_item.c
index 5897d25..0eeb21b 100644
--- 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 ) {

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list