mirror of
https://github.com/viq/NewsBlur.git
synced 2025-08-31 22:20:12 +00:00
Preventing dupe starred story activities.
This commit is contained in:
parent
a3f49bbe0d
commit
f48e6d6999
2 changed files with 6 additions and 6 deletions
|
@ -1204,7 +1204,7 @@ class MActivity(mongo.Document):
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def new_starred_story(cls, user_id, story_title, story_feed_id, story_id):
|
def new_starred_story(cls, user_id, story_title, story_feed_id, story_id):
|
||||||
cls.objects.create(user_id=user_id,
|
cls.objects.get_or_create(user_id=user_id,
|
||||||
category='star',
|
category='star',
|
||||||
content=story_title,
|
content=story_title,
|
||||||
feed_id=story_feed_id,
|
feed_id=story_feed_id,
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
5-oh-2
|
<body style="background-color: #F0F0F0;"><br><br><center><h1 style="color:#831818;text-shadow:0 1px 0 #FFF">5-oh-2</h1></center></body>
|
Loading…
Add table
Reference in a new issue