diff options
| author | default <nobody@localhost> | 2024-11-19 06:46:14 +0100 |
|---|---|---|
| committer | default <nobody@localhost> | 2024-11-19 06:46:14 +0100 |
| commit | 085caa7747a3bbebbd2ec09b3264dc6fcc5a7624 (patch) | |
| tree | 60342848dd7852e8a6448f164a50f57be8a8b5f6 /mastoapi.c | |
| parent | 4daacf6b9d60b6fc9fedbbf634ed1c9490095ba1 (diff) | |
New function get_in_reply_to().
Diffstat (limited to 'mastoapi.c')
| -rw-r--r-- | mastoapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1024,7 +1024,7 @@ xs_dict *mastoapi_status(snac *snac, const xs_dict *msg) st = xs_dict_append(st, "in_reply_to_id", xs_stock(XSTYPE_NULL)); st = xs_dict_append(st, "in_reply_to_account_id", xs_stock(XSTYPE_NULL)); - tmp = xs_dict_get(msg, "inReplyTo"); + tmp = get_in_reply_to(msg); if (!xs_is_null(tmp)) { xs *irto = NULL; |