]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Undo part of c6e4feb815a60a7baf613026c414a24c5c918650 so that blacklisted notices...
authorCraig Andrews <candrews@integralblue.com>
Fri, 20 Nov 2009 20:34:48 +0000 (15:34 -0500)
committerBrion Vibber <brion@pobox.com>
Fri, 20 Nov 2009 21:58:13 +0000 (13:58 -0800)
plugins/Realtime/RealtimePlugin.php

index c5fb6de038fa7cc83a9f6a367a9c53b01261e914..b737e442a02cfba6132e2d838b29546c3eb09f8b 100644 (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');
         }