Don't show polls as 'votable' from the public timeline.

This commit is contained in:
default 2023-12-03 11:51:26 +01:00
parent 8b3471afb7
commit a658e5d1c7

3
html.c
View File

@ -1443,6 +1443,9 @@ xs_html *html_entry(snac *user, xs_dict *msg, int local,
xs_html *poll = xs_html_tag("div", NULL);
if (local)
closed = 1; /* non-identified page; show as closed */
else
if (xs_dict_get(msg, "closed"))
closed = 2;
else