diff options
author | default <nobody@localhost> | 2023-06-11 10:41:19 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2023-06-11 10:41:19 +0200 |
commit | e45ffa0fa2c23cc1717d1784a438abdc82c0890a (patch) | |
tree | 34cfea7d1570d84c6a59165bdc8c759757321b41 | |
parent | 1d9e7348fff17ee86dcf07e545d4900edab5d075 (diff) |
Use a different variable name to store the id of 'embedded' children.
-rw-r--r-- | activitypub.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/activitypub.c b/activitypub.c index 10e0e64..92914a2 100644 --- a/activitypub.c +++ b/activitypub.c @@ -230,12 +230,12 @@ void timeline_request_replies(snac *user, const char *id) while (xs_list_iter(&items, &v)) { if (xs_type(v) == XSTYPE_DICT) { /* not an id, but the object itself (!) */ - const char *id = xs_dict_get(v, "id"); + const char *c_id = xs_dict_get(v, "id"); if (!xs_is_null(id)) { - snac_debug(user, 0, xs_fmt("embedded reply %s", id)); + snac_debug(user, 0, xs_fmt("embedded reply %s", c_id)); - object_add(id, v); + object_add(c_id, v); /* get its own children */ timeline_request_replies(user, v); |