fix RT not being detected in some cases

This commit is contained in:
Nicolas Constant 2021-02-04 19:06:37 -05:00
parent 1d8e622ab5
commit cee46df117
No known key found for this signature in database
GPG key ID: 1E9F677FB01A5688

View file

@ -57,7 +57,7 @@ namespace BirdsiteLive.Twitter.Extractors
var message = tweet.FullText;
var tweetUrls = tweet.Media.Select(x => x.URL).Distinct();
if (tweet.IsRetweet && tweet.QuotedStatusId == null && message.StartsWith("RT") && tweet.RetweetedTweet != null)
if (tweet.IsRetweet && message.StartsWith("RT") && tweet.RetweetedTweet != null)
{
message = tweet.RetweetedTweet.FullText;
tweetUrls = tweet.RetweetedTweet.Media.Select(x => x.URL).Distinct();