commit 7ea5748

default  ·  2024-05-04 23:21:07 +0000 UTC
parent 2f499e9
More Pleroma poll tweaks.
1 files changed,  +1, -1
M html.c
M html.c
+1, -1
1@@ -1665,7 +1665,7 @@ xs_html *html_entry(snac *user, xs_dict *msg, int read_only,
2         else
3         if (user && was_question_voted(user, id))
4             closed = 1; /* we already voted; closed for us */
5-        else
6+
7         if ((f_closed = xs_dict_get(msg, "closed")) != NULL) {
8             /* it has a closed date... but is it in the past? */
9             time_t t0 = time(NULL);