From: Craig Andrews Date: Fri, 20 Nov 2009 20:34:48 +0000 (-0500) Subject: Undo part of c6e4feb815a60a7baf613026c414a24c5c918650 so that blacklisted notices... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=953f3a6e4fbc2e14a8aed18012b36200e7903849;p=quix0rs-gnu-social.git Undo part of c6e4feb815a60a7baf613026c414a24c5c918650 so that blacklisted notices are not displayed in realtime --- diff --git a/plugins/Realtime/RealtimePlugin.php b/plugins/Realtime/RealtimePlugin.php index c5fb6de038..b737e442a0 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'); }