Problem: no feeds are shown as changed
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing

Solution: use || instead of &&. As soon as one item was added, the feed
should be marked as changed.
This commit is contained in:
Peter Stuifzand 2022-04-17 20:05:10 +02:00
parent 6b60f5670a
commit 974f460f84
Signed by: peter
GPG Key ID: 374322D56E5209E8

View File

@ -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)