diff options
| author | 2023-12-19 11:42:06 +0100 | |
|---|---|---|
| committer | 2023-12-19 11:42:06 +0100 | |
| commit | dd51da30d8aa1dae9e9aa7ae8baaee88a3e3ac3a (patch) | |
| tree | 1c1eec0afdecbcce1a917a8f585f65e6f544ab31 | |
| parent | More shared inbox tweaks. (diff) | |
| download | snac2-dd51da30d8aa1dae9e9aa7ae8baaee88a3e3ac3a.tar.gz snac2-dd51da30d8aa1dae9e9aa7ae8baaee88a3e3ac3a.tar.xz snac2-dd51da30d8aa1dae9e9aa7ae8baaee88a3e3ac3a.zip | |
Correctly insert polls and attachments inside CW.
| -rw-r--r-- | html.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1581,7 +1581,7 @@ xs_html *html_entry(snac *user, xs_dict *msg, int local, | |||
| 1581 | } | 1581 | } |
| 1582 | } | 1582 | } |
| 1583 | 1583 | ||
| 1584 | xs_html_add(snac_content_wrap, | 1584 | xs_html_add(snac_content, |
| 1585 | poll); | 1585 | poll); |
| 1586 | } | 1586 | } |
| 1587 | 1587 | ||
| @@ -1612,7 +1612,7 @@ xs_html *html_entry(snac *user, xs_dict *msg, int local, | |||
| 1612 | xs_html *content_attachments = xs_html_tag("div", | 1612 | xs_html *content_attachments = xs_html_tag("div", |
| 1613 | xs_html_attr("class", "snac-content-attachments")); | 1613 | xs_html_attr("class", "snac-content-attachments")); |
| 1614 | 1614 | ||
| 1615 | xs_html_add(snac_content_wrap, | 1615 | xs_html_add(snac_content, |
| 1616 | content_attachments); | 1616 | content_attachments); |
| 1617 | 1617 | ||
| 1618 | xs_list *p = attach; | 1618 | xs_list *p = attach; |