commit fc9ba8f

default  ·  2024-11-19 05:59:53 +0000 UTC
parent 085caa7
More usage of get_in_reply_to().
1 files changed,  +1, -1
M data.c
M data.c
+1, -1
1@@ -799,7 +799,7 @@ int _object_add(const char *id, const xs_dict *obj, int ow)
2         fclose(f);
3 
4         /* does this object has a parent? */
5-        const char *in_reply_to = xs_dict_get(obj, "inReplyTo");
6+        const char *in_reply_to = get_in_reply_to(obj);
7 
8         if (!xs_is_null(in_reply_to) && *in_reply_to) {
9             /* update the children index of the parent */