commit dd51da30d8aa1dae9e9aa7ae8baaee88a3e3ac3a
parent 90bab08655d7600cd0856e52d05d12a924b77e5f
Author: default <nobody@localhost>
Date: Tue, 19 Dec 2023 11:42:06 +0100
Correctly insert polls and attachments inside CW.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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;