[Commits] [SCM] claws branch, gtk3, updated. 3.16.0-95-g7c809b4
ticho at claws-mail.org
ticho at claws-mail.org
Fri Feb 23 22:34:43 CET 2018
The branch, gtk3 has been updated
via 7c809b4f3d79a9e8eb79ed06e77a12e6e5a6bd3a (commit)
from 27c4b31baedebf97f317fce1e30e5b5c86e62cb2 (commit)
Summary of changes:
src/plugins/rssyl/rssyl_deleted.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit 7c809b4f3d79a9e8eb79ed06e77a12e6e5a6bd3a
Author: Andrej Kacian <ticho at claws-mail.org>
Date: Fri Feb 23 22:27:35 2018 +0100
RSSyl: fix deleted item checking when modified or published time is missing
Fixes bug #3971.
diff --git a/src/plugins/rssyl/rssyl_deleted.c b/src/plugins/rssyl/rssyl_deleted.c
index ef2a5c1..5991093 100644
--- a/src/plugins/rssyl/rssyl_deleted.c
+++ b/src/plugins/rssyl/rssyl_deleted.c
@@ -310,13 +310,15 @@ static void _rssyl_deleted_expire_func_f(gpointer data, gpointer user_data)
return;
/* time of publishing, ... */
- if (ctx->ditem->date_published != feed_item_get_date_published(fitem))
+ if (ctx->ditem->date_published != -1 &&
+ ctx->ditem->date_published != feed_item_get_date_published(fitem))
return;
/* and the time of last modification must be greater
* (this means that the item was updated since deletion, and possibly
* contains new data, so we add it again) */
- if (ctx->ditem->date_modified != feed_item_get_date_modified(fitem))
+ if (ctx->ditem->date_modified != -1 &&
+ ctx->ditem->date_modified != feed_item_get_date_modified(fitem))
return;
ctx->delete = FALSE;
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list