mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-15 01:55:03 +00:00
Don't show polls as 'votable' from the public timeline.
This commit is contained in:
parent
8b3471afb7
commit
a658e5d1c7
1 changed files with 3 additions and 0 deletions
3
html.c
3
html.c
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue