Special-case syndicated journals.
Patch from LiveJournal, packaged by foxfirefey.
diffs (21 lines):
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 );
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog