Undo part of c6e4feb815 so that blacklisted notices are not displayed in realtime

This commit is contained in:
Craig Andrews 2009-11-20 15:34:48 -05:00 committed by Brion Vibber
parent afe5e71c4e
commit 3db551ed5a

View File

@ -139,8 +139,8 @@ class RealtimePlugin extends Plugin
// Add to the public timeline
if ($notice->is_local ||
($notice->is_local == 0 && !common_config('public', 'localonly'))) {
if ($notice->is_local == Notice::LOCAL_PUBLIC ||
($notice->is_local == Notice::REMOTE_OMB && !common_config('public', 'localonly'))) {
$paths[] = array('public');
}