Fix "Show this thread" for pinned threads

このコミットが含まれているのは:
Zed 2022-11-27 01:57:32 +01:00
コミット b1ef505cff
1個のファイルの変更4行の追加0行の削除

ファイルの表示

@ -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: