summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c6
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)
230 while (xs_list_iter(&items, &v)) { 230 while (xs_list_iter(&items, &v)) {
231 if (xs_type(v) == XSTYPE_DICT) { 231 if (xs_type(v) == XSTYPE_DICT) {
232 /* not an id, but the object itself (!) */ 232 /* not an id, but the object itself (!) */
233 const char *id = xs_dict_get(v, "id"); 233 const char *c_id = xs_dict_get(v, "id");
234 234
235 if (!xs_is_null(id)) { 235 if (!xs_is_null(id)) {
236 snac_debug(user, 0, xs_fmt("embedded reply %s", id)); 236 snac_debug(user, 0, xs_fmt("embedded reply %s", c_id));
237 237
238 object_add(id, v); 238 object_add(c_id, v);
239 239
240 /* get its own children */ 240 /* get its own children */
241 timeline_request_replies(user, v); 241 timeline_request_replies(user, v);