Browse Source

removal of old user analysis

master
Nicolas Constant 10 months ago
parent
commit
b28532b5bd
No known key found for this signature in database GPG Key ID: 1E9F677FB01A5688
2 changed files with 1 additions and 8 deletions
  1. +0
    -3
      src/BirdsiteLive.Pipeline/Models/UserWithDataToSync.cs
  2. +1
    -5
      src/BirdsiteLive.Pipeline/Processors/RetrieveTweetsProcessor.cs

src/BirdsiteLive.Pipeline/Models/UserWithTweetsToSync.cs → src/BirdsiteLive.Pipeline/Models/UserWithDataToSync.cs View File


+ 1
- 5
src/BirdsiteLive.Pipeline/Processors/RetrieveTweetsProcessor.cs 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)


Loading…
Cancel
Save