From: Andrej Kacian Date: Tue, 24 Jun 2014 16:39:53 +0000 (+0200) Subject: RSSyl: do not use feed item's URL to populate an empty ID, it just confuses the compa... X-Git-Tag: 3.11.0~79 X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=commitdiff_plain;h=58a62e07e425e957a5f3ae53d51e60b3a103fd20 RSSyl: do not use feed item's URL to populate an empty ID, it just confuses the comparing logic --- diff --git a/src/plugins/rssyl/rssyl_add_item.c b/src/plugins/rssyl/rssyl_add_item.c index b058660d0..54020af37 100644 --- a/src/plugins/rssyl/rssyl_add_item.c +++ b/src/plugins/rssyl/rssyl_add_item.c @@ -296,12 +296,12 @@ void rssyl_add_item(RFolderItem *ritem, FeedItem *feed_item) feed_item_set_title(feed_item, C_("Empty RSS feed title placeholder", "(empty)")); } - debug_print(",%s,\n", (feed_item->title ? feed_item->title : "")); - debug_print(",%s,\n", (feed_item->sourcetitle ? feed_item->sourcetitle : "")); +/* if (feed_item_get_id(feed_item) == NULL) { debug_print("RSSyl: item ID empty, using its URL as ID.\n"); feed_item_set_id(feed_item, feed_item_get_url(feed_item)); } +*/ /* If neither item date is set, use date from source (Atom only). */ if( feed_item_get_date_modified(feed_item) == -1 &&