]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
don't save statuses from protected users
authorEvan Prodromou <evan@status.net>
Fri, 3 Sep 2010 04:53:39 +0000 (00:53 -0400)
committerEvan Prodromou <evan@status.net>
Fri, 3 Sep 2010 19:40:19 +0000 (15:40 -0400)
plugins/TwitterBridge/daemons/twitterstatusfetcher.php

index 7c624fdb3bacc605f823f847611fc943dff32b96..964abc0d3ecb4630e19b06aa3783c96ac6472439 100755 (executable)
@@ -215,6 +215,13 @@ class TwitterStatusFetcher extends ParallelizingDaemon
                 continue;
             }
 
+            // Don't save it if the user is protected
+            // FIXME: save it but treat it as private
+
+            if ($status->user->protected) {
+                continue;
+            }
+
             $this->saveStatus($status, $flink);
         }