mirror of
https://github.com/zedeus/nitter.git
synced 2024-06-10 09:09:21 +00:00
Merge 8e762c592a
into b62d73dbd3
This commit is contained in:
commit
9bc1ed41ed
|
@ -277,6 +277,7 @@ proc renderTweet*(tweet: Tweet; prefs: Prefs; path: string; class=""; index=0;
|
|||
divClass = "thread-last " & class
|
||||
|
||||
if not tweet.available:
|
||||
divClass &= " author-" & tweet.user.username
|
||||
return buildHtml(tdiv(class=divClass & "unavailable timeline-item")):
|
||||
tdiv(class="unavailable-box"):
|
||||
if tweet.tombstone.len > 0:
|
||||
|
@ -298,6 +299,9 @@ proc renderTweet*(tweet: Tweet; prefs: Prefs; path: string; class=""; index=0;
|
|||
if tweet.retweet.isSome:
|
||||
tweet = tweet.retweet.get
|
||||
retweet = fullTweet.user.fullname
|
||||
divClass &= " retweet-" & retweet
|
||||
|
||||
divClass &= " author-" & tweet.user.fullname
|
||||
|
||||
buildHtml(tdiv(class=("timeline-item " & divClass))):
|
||||
if not mainTweet:
|
||||
|
|
Loading…
Reference in a new issue