fixed bug that caused threads on user profiles to be hidden
This commit is contained in:
parent
12f2e16c81
commit
1634ffdf43
1 changed files with 4 additions and 0 deletions
|
@ -491,6 +491,10 @@ proc parseGraphTimeline*(js: JsonNode; root: string; after=""): Timeline =
|
||||||
if not tweet.available:
|
if not tweet.available:
|
||||||
tweet.id = parseBiggestInt(entryId.getId())
|
tweet.id = parseBiggestInt(entryId.getId())
|
||||||
result.content.add tweet
|
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"):
|
elif entryId.startsWith("cursor-bottom"):
|
||||||
result.bottom = e{"content", "value"}.getStr
|
result.bottom = e{"content", "value"}.getStr
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue