diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ui/sidebarwidget.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/sidebarwidget.c b/src/ui/sidebarwidget.c index c9a17374..4e908f1e 100644 --- a/src/ui/sidebarwidget.c +++ b/src/ui/sidebarwidget.c | |||
@@ -149,6 +149,10 @@ static void updateItems_SidebarWidget_(iSidebarWidget *d) { | |||
149 | if (isHidden_FeedEntry(entry)) { | 149 | if (isHidden_FeedEntry(entry)) { |
150 | continue; /* A hidden entry. */ | 150 | continue; /* A hidden entry. */ |
151 | } | 151 | } |
152 | /* Don't show entries in the far future. */ | ||
153 | if (secondsSince_Time(&now, &entry->posted) < -24 * 60 * 60) { | ||
154 | continue; | ||
155 | } | ||
152 | /* Exclude entries that are too old for Visited to keep track of. */ | 156 | /* Exclude entries that are too old for Visited to keep track of. */ |
153 | if (secondsSince_Time(&now, &entry->discovered) > maxAge_Visited) { | 157 | if (secondsSince_Time(&now, &entry->discovered) > maxAge_Visited) { |
154 | break; /* the rest are even older */ | 158 | break; /* the rest are even older */ |