mirror of
https://github.com/zedeus/nitter.git
synced 2024-12-22 18:35:29 +00:00
Fix "Show this thread" for pinned threads
This commit is contained in:
parent
9ef0f649fd
commit
b1ef505cff
|
@ -206,6 +206,10 @@ proc parseTweet(js: JsonNode): Tweet =
|
|||
)
|
||||
)
|
||||
|
||||
# fix for pinned threads
|
||||
if result.hasThread and result.threadId == 0:
|
||||
result.threadId = js{"self_thread", "id_str"}.getId
|
||||
|
||||
result.expandTweetEntities(js)
|
||||
|
||||
if js{"is_quote_status"}.getBool:
|
||||
|
|
Loading…
Reference in a new issue