madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[ljcom] r12838: LJSUP-12654: Do not add reposted entry t...

Committer: sbelyaev
LJSUP-12654: Do not add reposted entry to RSS
U   trunk/cgi-bin/ljcom.pl
Modified: trunk/cgi-bin/ljcom.pl
===================================================================
--- trunk/cgi-bin/ljcom.pl	2012-10-29 09:35:25 UTC (rev 12837)
+++ trunk/cgi-bin/ljcom.pl	2012-10-29 11:37:00 UTC (rev 12838)
@@ -1122,7 +1122,7 @@
 
     ## Display latest entries only from users with social capital more than 10
     my $soc_capital = $up->get_social_capital();
-    if ($soc_capital > 10 && !$req->{'twitter_repost_aware'}) { 
+    if ($soc_capital > 10 && !$req->{'twitter_repost_aware'} && !$arg->{entryrepost}) { 
         push @$joblist, TheSchwartz::Job->new_from_array("LJ::Worker::LatestPosts", {
             'timepost' => time(),
             'journalid' => $uo->{'userid'},

Tags: ljcom, madeon, pl, sbelyaev
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments