From fd07472dbcb87cd99868dfbab16aee21982d2c5a Mon Sep 17 00:00:00 2001 From: nekobit Date: Thu, 12 May 2022 23:39:39 +0000 Subject: [PATCH] Read child of status FossilOrigin-Name: 2e5ca70d2a81d2d89f4edfd569d0b2c82bd1f059956bf32d5a0f91c6019d88fe --- src/status.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/status.c b/src/status.c index 4abaa3e..758e57a 100644 --- a/src/status.c +++ b/src/status.c @@ -98,7 +98,7 @@ int mstdnt_status_json(struct mstdnt_status* status, cJSON* js) int mstdnt_status_json_callback(cJSON* json, void* status) { - return mstdnt_status_json((struct mstdnt_status*)status, json); + return mstdnt_status_json((struct mstdnt_status*)status, json->child); } // GENERATE mstdnt_statuses_json