mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Fix "more replies" link for unavailable tweets
This commit is contained in:
parent
7915616e2e
commit
7e713e8fa5
2 changed files with 8 additions and 2 deletions
|
|
@ -131,6 +131,7 @@ proc getRfc822Time*(tweet: Tweet): string =
|
|||
tweet.time.format("ddd', 'd MMM yyyy HH:mm:ss 'GMT'")
|
||||
|
||||
proc getLink*(tweet: Tweet | Quote): string =
|
||||
if tweet.id.len == 0: return
|
||||
&"/{tweet.profile.username}/status/{tweet.id}"
|
||||
|
||||
proc getTombstone*(text: string): string =
|
||||
|
|
|
|||
Loading…
Reference in a new issue