mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-25 14:35:04 +00:00
More Pleroma poll tweaks.
This commit is contained in:
parent
2f499e9421
commit
7ea57485c7
1 changed files with 1 additions and 1 deletions
2
html.c
2
html.c
|
@ -1665,7 +1665,7 @@ xs_html *html_entry(snac *user, xs_dict *msg, int read_only,
|
|||
else
|
||||
if (user && was_question_voted(user, id))
|
||||
closed = 1; /* we already voted; closed for us */
|
||||
else
|
||||
|
||||
if ((f_closed = xs_dict_get(msg, "closed")) != NULL) {
|
||||
/* it has a closed date... but is it in the past? */
|
||||
time_t t0 = time(NULL);
|
||||
|
|
Loading…
Reference in a new issue