commit fc9ba8f02647035e2d9ebcc29b32c586f90a10fd
parent 085caa7747a3bbebbd2ec09b3264dc6fcc5a7624
Author: default <nobody@localhost>
Date: Tue, 19 Nov 2024 06:59:53 +0100
More usage of get_in_reply_to().
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/data.c b/data.c
@@ -799,7 +799,7 @@ int _object_add(const char *id, const xs_dict *obj, int ow)
fclose(f);
/* does this object has a parent? */
- const char *in_reply_to = xs_dict_get(obj, "inReplyTo");
+ const char *in_reply_to = get_in_reply_to(obj);
if (!xs_is_null(in_reply_to) && *in_reply_to) {
/* update the children index of the parent */