mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-11-01 09:09:51 +00:00
Posting to ADN inline until deployed.
This commit is contained in:
parent
09cdafb10e
commit
bf167044b0
1 changed files with 5 additions and 1 deletions
|
|
@ -583,7 +583,11 @@ def mark_story_as_shared(request):
|
|||
if post_to_services:
|
||||
for service in post_to_services:
|
||||
if service not in shared_story.posted_to_services:
|
||||
PostToService.delay(shared_story_id=shared_story.id, service=service)
|
||||
if service == 'appdotnet':
|
||||
# XXX TODO: Remove. Only for www->dev.
|
||||
shared_story.post_to_service(service)
|
||||
else:
|
||||
PostToService.delay(shared_story_id=shared_story.id, service=service)
|
||||
|
||||
if shared_story.source_user_id and shared_story.comments:
|
||||
EmailStoryReshares.apply_async(kwargs=dict(shared_story_id=shared_story.id),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue