mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Uniqifying stories when read.
This commit is contained in:
parent
83866a7736
commit
53973ce52a
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ class UserSubscription(models.Model):
|
|||
else:
|
||||
logging.user(request, "~FYRead story in feed: %s" % (self.feed))
|
||||
|
||||
for story_id in story_ids:
|
||||
for story_id in set(story_ids):
|
||||
try:
|
||||
story = MStory.objects.get(story_feed_id=self.feed.pk, story_guid=story_id)
|
||||
except MStory.DoesNotExist:
|
||||
|
|
Loading…
Add table
Reference in a new issue