From ed99fd51e8cb8bdbd03f41400018760f95318328 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Fri, 3 Sep 2010 00:53:39 -0400 Subject: [PATCH] don't save statuses from protected users --- plugins/TwitterBridge/daemons/twitterstatusfetcher.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/plugins/TwitterBridge/daemons/twitterstatusfetcher.php b/plugins/TwitterBridge/daemons/twitterstatusfetcher.php index 7c624fdb3b..964abc0d3e 100755 --- a/plugins/TwitterBridge/daemons/twitterstatusfetcher.php +++ b/plugins/TwitterBridge/daemons/twitterstatusfetcher.php @@ -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); } -- 2.39.5