diff options
| author | 2024-11-19 06:59:53 +0100 | |
|---|---|---|
| committer | 2024-11-19 06:59:53 +0100 | |
| commit | fc9ba8f02647035e2d9ebcc29b32c586f90a10fd (patch) | |
| tree | 6605ce5d9fc02b8c5788884d14f9babf6efbf6b9 | |
| parent | New function get_in_reply_to(). (diff) | |
| download | penes-snac2-fc9ba8f02647035e2d9ebcc29b32c586f90a10fd.tar.gz penes-snac2-fc9ba8f02647035e2d9ebcc29b32c586f90a10fd.tar.xz penes-snac2-fc9ba8f02647035e2d9ebcc29b32c586f90a10fd.zip | |
More usage of get_in_reply_to().
Diffstat (limited to '')
| -rw-r--r-- | data.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -799,7 +799,7 @@ int _object_add(const char *id, const xs_dict *obj, int ow) | |||
| 799 | fclose(f); | 799 | fclose(f); |
| 800 | 800 | ||
| 801 | /* does this object has a parent? */ | 801 | /* does this object has a parent? */ |
| 802 | const char *in_reply_to = xs_dict_get(obj, "inReplyTo"); | 802 | const char *in_reply_to = get_in_reply_to(obj); |
| 803 | 803 | ||
| 804 | if (!xs_is_null(in_reply_to) && *in_reply_to) { | 804 | if (!xs_is_null(in_reply_to) && *in_reply_to) { |
| 805 | /* update the children index of the parent */ | 805 | /* update the children index of the parent */ |