mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-05 16:58:59 +00:00
Marking feeds as read when there are no neutral or positive unreads. Dropping negatives.
This commit is contained in:
parent
1505e0ba50
commit
ca5ef47e02
2 changed files with 2 additions and 4 deletions
|
@ -439,8 +439,7 @@ class UserSubscription(models.Model):
|
|||
self.save()
|
||||
|
||||
if (self.unread_count_positive == 0 and
|
||||
self.unread_count_neutral == 0 and
|
||||
self.unread_count_negative == 0):
|
||||
self.unread_count_neutral == 0):
|
||||
self.mark_feed_read()
|
||||
|
||||
if not silent:
|
||||
|
|
|
@ -1087,8 +1087,7 @@ class MSocialSubscription(mongo.Document):
|
|||
self.save()
|
||||
|
||||
if (self.unread_count_positive == 0 and
|
||||
self.unread_count_neutral == 0 and
|
||||
self.unread_count_negative == 0):
|
||||
self.unread_count_neutral == 0):
|
||||
self.mark_feed_read()
|
||||
|
||||
if not silent:
|
||||
|
|
Loading…
Add table
Reference in a new issue