[Commits] [SCM] claws branch, master, updated. 3.17.4-12-g7684d8134

ticho at claws-mail.org ticho at claws-mail.org
Mon Aug 26 17:51:01 CEST 2019


The branch, master has been updated
       via  7684d8134420c006cf1de56373009fce9cb857b5 (commit)
      from  814f1179a1e5c8f3effd3f4bbfc1c36c16f6a894 (commit)

Summary of changes:
 src/plugins/rssyl/rssyl_deleted.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)


- Log -----------------------------------------------------------------
commit 7684d8134420c006cf1de56373009fce9cb857b5
Author: Andrej Kacian <ticho at claws-mail.org>
Date:   Mon Aug 26 17:50:20 2019 +0200

    Fix handling deleted feed items where modified and published dates do not match

diff --git a/src/plugins/rssyl/rssyl_deleted.c b/src/plugins/rssyl/rssyl_deleted.c
index 5d1bbfc49..dd344d558 100644
--- a/src/plugins/rssyl/rssyl_deleted.c
+++ b/src/plugins/rssyl/rssyl_deleted.c
@@ -267,7 +267,8 @@ static gint _rssyl_deleted_check_func(gconstpointer a, gconstpointer b)
 
 	/* ...and time of publishing */
 	if (ditem->date_published == -1 ||
-			ditem->date_published == feed_item_get_date_published(fitem))
+			ditem->date_published == feed_item_get_date_published(fitem) ||
+			ditem->date_published == feed_item_get_date_modified(fitem))
 		pubdate_match = TRUE;
 
 	/* if all three match, it's the same item */
@@ -332,7 +333,8 @@ static void _rssyl_deleted_expire_func_f(gpointer data, gpointer user_data)
 
 	/* time of publishing, if set... */
 	if (ctx->ditem->date_published == -1 ||
-			ctx->ditem->date_published == feed_item_get_date_published(fitem))
+			ctx->ditem->date_published == feed_item_get_date_published(fitem) ||
+			ctx->ditem->date_published == feed_item_get_date_modified(fitem))
 		pubdate_match = TRUE;
 
 	/* if it's our item, set to NOT delete, since it's obviously

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list