summaryrefslogtreecommitdiff
path: root/mastoapi.c
diff options
context:
space:
mode:
authorGravatar default2024-11-19 06:46:14 +0100
committerGravatar default2024-11-19 06:46:14 +0100
commit085caa7747a3bbebbd2ec09b3264dc6fcc5a7624 (patch)
tree60342848dd7852e8a6448f164a50f57be8a8b5f6 /mastoapi.c
parentUpdated TODO. (diff)
downloadsnac2-085caa7747a3bbebbd2ec09b3264dc6fcc5a7624.tar.gz
snac2-085caa7747a3bbebbd2ec09b3264dc6fcc5a7624.tar.xz
snac2-085caa7747a3bbebbd2ec09b3264dc6fcc5a7624.zip
New function get_in_reply_to().
Diffstat (limited to 'mastoapi.c')
-rw-r--r--mastoapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mastoapi.c b/mastoapi.c
index 825f207..1dd91dc 100644
--- a/mastoapi.c
+++ b/mastoapi.c
@@ -1024,7 +1024,7 @@ xs_dict *mastoapi_status(snac *snac, const xs_dict *msg)
1024 st = xs_dict_append(st, "in_reply_to_id", xs_stock(XSTYPE_NULL)); 1024 st = xs_dict_append(st, "in_reply_to_id", xs_stock(XSTYPE_NULL));
1025 st = xs_dict_append(st, "in_reply_to_account_id", xs_stock(XSTYPE_NULL)); 1025 st = xs_dict_append(st, "in_reply_to_account_id", xs_stock(XSTYPE_NULL));
1026 1026
1027 tmp = xs_dict_get(msg, "inReplyTo"); 1027 tmp = get_in_reply_to(msg);
1028 if (!xs_is_null(tmp)) { 1028 if (!xs_is_null(tmp)) {
1029 xs *irto = NULL; 1029 xs *irto = NULL;
1030 1030