removal of old user analysis

This commit is contained in:
Nicolas Constant 2021-09-05 14:00:18 -04:00
parent 71f6d3f3f4
commit b28532b5bd
No known key found for this signature in database
GPG key ID: 1E9F677FB01A5688
2 changed files with 1 additions and 8 deletions

View file

@ -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; }
}
}

View file

@ -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)