Browse Source

Correctly insert polls and attachments inside CW.

default 1 year ago
parent
commit
dd51da30d8
1 changed files with 2 additions and 2 deletions
  1. 2 2
      html.c

+ 2 - 2
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;