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