From dd51da30d8aa1dae9e9aa7ae8baaee88a3e3ac3a Mon Sep 17 00:00:00 2001 From: default Date: Tue, 19 Dec 2023 11:42:06 +0100 Subject: [PATCH] Correctly insert polls and attachments inside CW. --- html.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/html.c b/html.c index 8cc016e..616d6bf 100644 --- a/html.c +++ b/html.c @@ -1581,7 +1581,7 @@ xs_html *html_entry(snac *user, xs_dict *msg, int local, } } - xs_html_add(snac_content_wrap, + xs_html_add(snac_content, poll); } @@ -1612,7 +1612,7 @@ xs_html *html_entry(snac *user, xs_dict *msg, int local, xs_html *content_attachments = xs_html_tag("div", xs_html_attr("class", "snac-content-attachments")); - xs_html_add(snac_content_wrap, + xs_html_add(snac_content, content_attachments); xs_list *p = attach;