From 30eee590685349e20b4ded9127da7c19794a70be 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