mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
I don't know how manual unreads older than the unread cutoff were ever counted before removing this date check.
This commit is contained in:
parent
3a90f39d6e
commit
e4f2528b08
1 changed files with 4 additions and 4 deletions
|
@ -817,8 +817,8 @@ class UserSubscription(models.Model):
|
|||
oldest_unread_story_date = now
|
||||
|
||||
if self.user.profile.last_seen_on < self.user.profile.unread_cutoff and not force:
|
||||
# if not silent:
|
||||
# logging.info(' ---> [%s] SKIPPING Computing scores: %s (1 week+)' % (self.user, self.feed))
|
||||
if not silent and settings.DEBUG:
|
||||
logging.info(' ---> [%s] SKIPPING Computing scores: %s (1 week+)' % (self.user, self.feed))
|
||||
return self
|
||||
ong = self.unread_count_negative
|
||||
ont = self.unread_count_neutral
|
||||
|
@ -866,8 +866,8 @@ class UserSubscription(models.Model):
|
|||
|
||||
unread_stories = []
|
||||
for story in stories:
|
||||
if story['story_date'] < date_delta:
|
||||
continue
|
||||
# if story['story_date'] < date_delta:
|
||||
# continue
|
||||
if story['story_hash'] in unread_story_hashes:
|
||||
unread_stories.append(story)
|
||||
if story['story_date'] < oldest_unread_story_date:
|
||||
|
|
Loading…
Add table
Reference in a new issue