diff options
author | default <nobody@localhost> | 2023-04-16 07:17:16 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2023-04-16 07:17:16 +0200 |
commit | cc48f25e98b2b60f4a4323791d95209b26f90539 (patch) | |
tree | ddc1f137261461c9c3e10e5f3c10cfb8cf2a9c9b | |
parent | 604c1f0bce1ecbdadf2074b634413413f339ecac (diff) |
Return context ancestors in the right order.
-rw-r--r-- | mastoapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1071,7 +1071,7 @@ int mastoapi_get_handler(const xs_dict *req, const char *q_path, if (valid_status(timeline_get_by_md5(&snac1, pid, &m2))) { xs *st = mastoapi_status(&snac1, m2); - anc = xs_list_append(anc, st); + anc = xs_list_insert(anc, 0, st); } else break; |