removal of old user analysis
This commit is contained in:
parent
71f6d3f3f4
commit
b28532b5bd
2 changed files with 1 additions and 8 deletions
|
@ -9,8 +9,5 @@ namespace BirdsiteLive.Pipeline.Models
|
|||
public SyncTwitterUser User { get; set; }
|
||||
public ExtractedTweet[] Tweets { get; set; }
|
||||
public Follower[] Followers { get; set; }
|
||||
|
||||
public bool IsUserProtected { get; set; }
|
||||
public bool IsUserNotRetrieved { get; set; }
|
||||
}
|
||||
}
|
|
@ -64,11 +64,7 @@ namespace BirdsiteLive.Pipeline.Processors
|
|||
private ExtractedTweet[] RetrieveNewTweets(SyncTwitterUser user)
|
||||
{
|
||||
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