don't retrieve TL if user is protected
This commit is contained in:
parent
567f02a4e2
commit
5f480b4baa
1 changed files with 4 additions and 0 deletions
|
@ -68,6 +68,10 @@ namespace BirdsiteLive.Pipeline.Processors
|
|||
{
|
||||
var tweets = new ExtractedTweet[0];
|
||||
|
||||
// Don't retrieve TL if protected
|
||||
var userView = _twitterUserService.GetUser(user.Acct);
|
||||
if (userView == null || userView.Protected) return tweets;
|
||||
|
||||
try
|
||||
{
|
||||
if (user.LastTweetPostedId == -1)
|
||||
|
|
Reference in a new issue