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.
This commit is contained in:
parent
6b60f5670a
commit
974f460f84
|
@ -701,7 +701,7 @@ func (b *memoryBackend) ProcessContent(channel, feedID, fetchURL, contentType st
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Printf("ERROR: (feedID=%s) %s\n", feedID, err)
|
log.Printf("ERROR: (feedID=%s) %s\n", feedID, err)
|
||||||
}
|
}
|
||||||
changed = changed && added
|
changed = changed || added
|
||||||
}
|
}
|
||||||
|
|
||||||
err = b.updateChannelUnreadCount(channel)
|
err = b.updateChannelUnreadCount(channel)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user