mirror of
https://github.com/NicolasConstant/BirdsiteLive
synced 2025-06-05 21:49:16 +02:00
don't retrieve TL if user is protected
This commit is contained in:
@@ -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 New Issue
Block a user