Posting to ADN inline until deployed.

This commit is contained in:
Samuel Clay 2013-03-02 13:50:44 -08:00
parent 09cdafb10e
commit bf167044b0

View file

@ -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),