vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[livejournal] r17348: LJSV-1195: no pingback between posts of ...

Committer: vsukhanov
LJSV-1195: no pingback between posts of the same user.
U   trunk/cgi-bin/LJ/PingBack.pm
Modified: trunk/cgi-bin/LJ/PingBack.pm
===================================================================
--- trunk/cgi-bin/LJ/PingBack.pm	2010-09-10 09:05:40 UTC (rev 17347)
+++ trunk/cgi-bin/LJ/PingBack.pm	2010-09-10 09:12:56 UTC (rev 17348)
@@ -31,6 +31,9 @@
     # 
     return "no pingback notifications between posts of the same journal"
         if $source_entry and $source_entry->journalid eq $target_entry->journalid;
+    
+    return "no pingback notifications between posts of the same user"
+        if $source_entry and $source_entry->posterid eq $target_entry->posterid;
 
     my $poster_u = LJ::load_user($LJ::PINGBACK->{comments_bot_username});
     unless ($poster_u){

Tags: livejournal, pm, vadvs
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