snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit 5d4e0b0914ca5410c245aa1d4b4db4580a5ca278
parent c172e918b1a29bd72008f354345d3078556da238
Author: default <nobody@localhost>
Date:   Fri, 16 Feb 2024 18:20:48 +0100

Fixed bug in get_attachments().

Diffstat:
Mactivitypub.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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);