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
parent 028a44e080
commit 953f3a6e4f

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');
}