1
0
mirror of https://github.com/zedeus/nitter.git synced 2026-04-13 09:12:12 -04:00

Fix "Replying to" parsing

This commit is contained in:
Zed
2026-02-14 02:24:24 +01:00
parent 90b664ffb7
commit d45545cd53
2 changed files with 14 additions and 5 deletions

View File

@@ -307,7 +307,7 @@ proc renderTweet*(tweet: Tweet; prefs: Prefs; path: string; class=""; index=0;
renderHeader(tweet, retweet, pinned, prefs)
if not afterTweet and index == 0 and tweet.reply.len > 0 and
(tweet.reply.len > 1 or tweet.reply[0] != tweet.user.username):
(tweet.reply.len > 1 or tweet.reply[0] != tweet.user.username or pinned):
renderReply(tweet)
var tweetClass = "tweet-content media-body"