commit a658e5d

default  ·  2023-12-03 10:51:26 +0000 UTC
parent 8b3471a
Don't show polls as 'votable' from the public timeline.
1 files changed,  +3, -0
M html.c
M html.c
+3, -0
 1@@ -1443,6 +1443,9 @@ xs_html *html_entry(snac *user, xs_dict *msg, int local,
 2 
 3         xs_html *poll = xs_html_tag("div", NULL);
 4 
 5+        if (local)
 6+            closed = 1; /* non-identified page; show as closed */
 7+        else
 8         if (xs_dict_get(msg, "closed"))
 9             closed = 2;
10         else