aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
Diffstat (limited to 'internal')
-rw-r--r--internal/feed/cache_v1.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/internal/feed/cache_v1.go b/internal/feed/cache_v1.go
index fb16027..45182dc 100644
--- a/internal/feed/cache_v1.go
+++ b/internal/feed/cache_v1.go
@@ -159,10 +159,10 @@ func newCachedItem(item feeditem) cachedItem {
}
func (item *cachedItem) similarTo(other *cachedItem, ignoreHash bool) bool {
- return other.Title == item.Title ||
- other.Link == item.Link ||
- other.PublishedDate.Equal(item.PublishedDate) ||
- (!ignoreHash && other.Hash == item.Hash)
+ return other.Title == item.Title &&
+ other.Link == item.Link &&
+ other.PublishedDate.Equal(item.PublishedDate) &&
+ (ignoreHash || other.Hash == item.Hash)
}
func (cf *cachedFeed) deleteItem(index int) {
.5Jason A. Donenfeld1-1/+1 2015-01-28cygwin + gpg4win: convert paths to windows paths when calling gpg4win binary ...Lenz Weber2-1/+26 2015-01-28Skip broken tests.Jason A. Donenfeld1-0/+6 2015-01-28Add unprotected keys for GnuPG 2.1Jason A. Donenfeld11-0/+0 2015-01-28Use more stable with-colons outputJason A. Donenfeld2-3/+3 2015-01-28Revert "Only examine subkeys that are capable of encrypting."Jason A. Donenfeld2-2/+2 2015-01-28Take into account use in testsJason A. Donenfeld1-1/+1 2015-01-28Bump version1.6.4Jason A. Donenfeld1-1/+1 2015-01-27Strip ".gpg" from symlinks as wellTheo Chatzimichos1-2/+2 2015-01-19clip: Show an error message if xclip returns a non-zero exit codeWieland Hoffmann1-3/+2 2015-01-19Correct path for top level grepJason A. Donenfeld1-2/+3