afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)
afuna ([personal profile] afuna) wrote in [site community profile] changelog2009-09-12 01:27 pm

[dw-free] Don't ping hubbub if updating a syndicated journal

[commit: http://hg.dwscoalition.org/dw-free/rev/04268e5d9af0]

http://bugs.dwscoalition.org/show_bug.cgi?id=1779

Special-case syndicated journals.

Patch from LiveJournal, packaged by foxfirefey.

Files modified:
  • cgi-bin/ljprotocol.pl
--------------------------------------------------------------------------------
diff -r 69cf9ed01228 -r 04268e5d9af0 cgi-bin/ljprotocol.pl
--- a/cgi-bin/ljprotocol.pl	Sat Sep 12 11:32:39 2009 +0000
+++ b/cgi-bin/ljprotocol.pl	Sat Sep 12 13:27:06 2009 +0000
@@ -1547,7 +1547,7 @@ sub postevent
         push @jobs, LJ::Event::OfficialPost->new($entry)->fire_job if $uowner->is_official;        
 
         # PubSubHubbub Support
-        LJ::Feed::generate_hubbub_jobs( $uowner, \@jobs );
+        LJ::Feed::generate_hubbub_jobs( $uowner, \@jobs ) unless $uowner->is_syndicated;
     }
     push @jobs, LJ::EventLogRecord::NewEntry->new($entry)->fire_job;
 
@@ -1911,7 +1911,7 @@ sub editevent
 
     # PubSubHubbub Support
     my @jobs;
-    LJ::Feed::generate_hubbub_jobs( $uowner, \@jobs );
+    LJ::Feed::generate_hubbub_jobs( $uowner, \@jobs ) unless $uowner->is_syndicated;
 
     LJ::run_hooks( "editpost", $entry, \@jobs );
 
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
No Subject Icon Selected
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org