don't save statuses from protected users

This commit is contained in:
Evan Prodromou 2010-09-03 00:53:39 -04:00
parent 80044ad735
commit ed99fd51e8

View File

@ -215,6 +215,13 @@ class TwitterStatusFetcher extends ParallelizingDaemon
continue; 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); $this->saveStatus($status, $flink);
} }