diff options
author | Craig Andrews <candrews@integralblue.com> | 2009-11-16 16:19:27 -0500 |
---|---|---|
committer | Craig Andrews <candrews@integralblue.com> | 2009-11-16 16:19:27 -0500 |
commit | e4d191334f5b2e40a4cd97e1c23677d4712b7700 (patch) | |
tree | 49bcf043ba22851ea6c5ab9aa9ded38d3c1a2ba4 | |
parent | 3bf1024771537b4499ffbf8e2e7c25be30cc204d (diff) |
Only show local notices or (remote notices if they're supposed to be shown)
-rw-r--r-- | plugins/Realtime/RealtimePlugin.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Realtime/RealtimePlugin.php b/plugins/Realtime/RealtimePlugin.php index 0f0d0f9f4..a21c33b10 100644 --- a/plugins/Realtime/RealtimePlugin.php +++ b/plugins/Realtime/RealtimePlugin.php @@ -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'); } |