Committer: ailyin
LJSUP-8575 (on QotD crossposts, disable comments and link back to the original entry)U trunk/cgi-bin/LJ/Hooks/QotD.pm
Modified: trunk/cgi-bin/LJ/Hooks/QotD.pm =================================================================== --- trunk/cgi-bin/LJ/Hooks/QotD.pm 2011-04-13 10:48:34 UTC (rev 10383) +++ trunk/cgi-bin/LJ/Hooks/QotD.pm 2011-04-14 02:14:11 UTC (rev 10384) @@ -258,6 +258,8 @@ # now, alter it to post to the community as appropriate $repost_req->{'usejournal'} = $LJ::QOTD_COMMUNITY; $repost_req->{'qotd_xpost'} = 1; + $repost_req->{'props'}->{'origin_url'} = $entry->url; + $repost_req->{'props'}->{'opt_nocomments'} = 1; LJ::Protocol::do_request( 'postevent', $repost_req, \'', { 'noauth' => 1 } );