mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-21 12:55:04 +00:00
More usage of get_in_reply_to().
This commit is contained in:
parent
085caa7747
commit
fc9ba8f026
1 changed files with 1 additions and 1 deletions
2
data.c
2
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 */
|
||||
|
|
Loading…
Reference in a new issue