aboutsummaryrefslogtreecommitdiff
path: root/data.c
diff options
context:
space:
mode:
authorshtrophic <christoph@liebender.dev>2024-11-19 21:40:18 +0100
committershtrophic <christoph@liebender.dev>2024-11-19 21:40:18 +0100
commit67431130162b1027cc3894f947be309b2daa3cd3 (patch)
tree847930f363f0d6f13e688342dab8623de78db651 /data.c
parent972783fcb2d7855847f0ea0832da2abc71aa6b30 (diff)
parent3a9118524831d1f3a9168034c1655e515f162020 (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'data.c')
-rw-r--r--data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/data.c b/data.c
index 54099db..6f93098 100644
--- a/data.c
+++ b/data.c
@@ -762,7 +762,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 */