summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-12-19 11:42:06 +0100
committerdefault <nobody@localhost>2023-12-19 11:42:06 +0100
commitdd51da30d8aa1dae9e9aa7ae8baaee88a3e3ac3a (patch)
tree1c1eec0afdecbcce1a917a8f585f65e6f544ab31
parent90bab08655d7600cd0856e52d05d12a924b77e5f (diff)
Correctly insert polls and attachments inside CW.
-rw-r--r--html.c4
1 files 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;