Don't show "About author" on quote tweets in IV

This commit is contained in:
dangered wolf 2023-08-21 23:40:32 -04:00
parent d9e101a740
commit df35ec14dd
No known key found for this signature in database
GPG key ID: 41E4D37680ED8B58

View file

@ -175,7 +175,7 @@ const generateTweet = (tweet: APITweet, isQuote = false): string => {
${text} ${text}
<!-- Embedded quote tweet --> <!-- Embedded quote tweet -->
${!isQuote && tweet.quote ? generateTweet(tweet.quote, true) : notApplicableComment} ${!isQuote && tweet.quote ? generateTweet(tweet.quote, true) : notApplicableComment}
${generateTweetFooter(tweet)} ${!isQuote ? generateTweetFooter(tweet) : ''}
<br>${!isQuote ? `<a href="${tweet.url}">View original post</a>` : notApplicableComment} <br>${!isQuote ? `<a href="${tweet.url}">View original post</a>` : notApplicableComment}
`; `;
}; };