We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 228b731 + eb78f64 commit e608bffCopy full SHA for e608bff
src/jsons/status.nim
@@ -24,14 +24,8 @@ proc formatConversationAsJson*(conv: Conversation): JsonNode =
24
25
# Format reply chains
26
for chain in conv.replies.content:
27
- var tweets = newJArray()
28
for tweet in chain.content:
29
- tweets.add(formatTweetAsJson(tweet))
30
- replies.add(%*{
31
- "tweets": tweets,
32
- "hasMore": chain.hasMore,
33
- "cursor": chain.cursor
34
- })
+ replies.add(formatTweetAsJson(tweet))
35
36
return %*{
37
"tweet": formatTweetAsJson(conv.tweet),
0 commit comments