Only show local notices or (remote notices if they're supposed to be shown)

This commit is contained in:
Craig Andrews 2009-11-16 16:19:27 -05:00
parent 3bf1024771
commit e4d191334f

View File

@ -132,8 +132,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');
}