[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:
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 );
--------------------------------------------------------------------------------
