From 5d4e0b0914ca5410c245aa1d4b4db4580a5ca278 Mon Sep 17 00:00:00 2001 From: default Date: Fri, 16 Feb 2024 18:20:48 +0100 Subject: Fixed bug in get_attachments(). --- activitypub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activitypub.c b/activitypub.c index 87d2923..bd0efd4 100644 --- a/activitypub.c +++ b/activitypub.c @@ -198,7 +198,7 @@ xs_list *get_attachments(const xs_dict *msg) /* ensure it's a list */ if (xs_type(p) == XSTYPE_DICT) { attach = xs_list_new(); - attach = xs_list_append(attach, v); + attach = xs_list_append(attach, p); } else attach = xs_dup(p); -- cgit v1.2.3