From 1634ffdf43c1d9351b7d02103061baa8fa247fd6 Mon Sep 17 00:00:00 2001 From: PrivacyDev Date: Fri, 26 May 2023 17:23:40 -0400 Subject: [PATCH] fixed bug that caused threads on user profiles to be hidden --- src/parser.nim | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/parser.nim b/src/parser.nim index fe2fe5b..6461e1d 100644 --- a/src/parser.nim +++ b/src/parser.nim @@ -491,6 +491,10 @@ proc parseGraphTimeline*(js: JsonNode; root: string; after=""): Timeline = if not tweet.available: tweet.id = parseBiggestInt(entryId.getId()) result.content.add tweet + elif entryId.startsWith("profile-conversation") or entryId.startsWith("homeConversation"): + let (thread, self) = parseGraphThread(e) + for tweet in thread.content: + result.content.add tweet elif entryId.startsWith("cursor-bottom"): result.bottom = e{"content", "value"}.getStr