diff options
author | Evan Prodromou <evan@status.net> | 2010-09-03 00:53:39 -0400 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-09-07 04:00:57 -0400 |
commit | ed99fd51e8cb8bdbd03f41400018760f95318328 (patch) | |
tree | 9bf0e446afb88e41dca034c006fcc8ffc0916031 /plugins | |
parent | 80044ad735643c289c6f682f60e67bb7662bde0f (diff) |
don't save statuses from protected users
Diffstat (limited to 'plugins')
-rwxr-xr-x | plugins/TwitterBridge/daemons/twitterstatusfetcher.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/TwitterBridge/daemons/twitterstatusfetcher.php b/plugins/TwitterBridge/daemons/twitterstatusfetcher.php index 7c624fdb3..964abc0d3 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); } |