From 974f460f8490c2a309fad5ffba32c88e89b7668b Mon Sep 17 00:00:00 2001 From: Peter Stuifzand Date: Sun, 17 Apr 2022 20:05:10 +0200 Subject: [PATCH] Problem: no feeds are shown as changed Solution: use || instead of &&. As soon as one item was added, the feed should be marked as changed. --- cmd/eksterd/memory.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/eksterd/memory.go b/cmd/eksterd/memory.go index b32ffe7..e550a02 100644 --- a/cmd/eksterd/memory.go +++ b/cmd/eksterd/memory.go @@ -701,7 +701,7 @@ func (b *memoryBackend) ProcessContent(channel, feedID, fetchURL, contentType st if err != nil { log.Printf("ERROR: (feedID=%s) %s\n", feedID, err) } - changed = changed && added + changed = changed || added } err = b.updateChannelUnreadCount(channel)