diff options
author | Craig Andrews <candrews@integralblue.com> | 2009-11-20 15:34:48 -0500 |
---|---|---|
committer | Craig Andrews <candrews@integralblue.com> | 2009-11-20 15:34:48 -0500 |
commit | 953f3a6e4fbc2e14a8aed18012b36200e7903849 (patch) | |
tree | d4ce575774fd228482af8bb9d06992a6e5a26f59 /plugins | |
parent | 028a44e080e645d2fded19234e5cf389ed8086b5 (diff) |
Undo part of c6e4feb815a60a7baf613026c414a24c5c918650 so that blacklisted notices are not displayed in realtime
Diffstat (limited to 'plugins')
-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 c5fb6de03..b737e442a 100644 --- a/plugins/Realtime/RealtimePlugin.php +++ b/plugins/Realtime/RealtimePlugin.php @@ -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'); } |