summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar default2024-05-05 01:21:07 +0200
committerGravatar default2024-05-05 01:21:07 +0200
commit7ea57485c70e9a55045f14bd81d7aea73fff4fb1 (patch)
tree6987857e34ec295a9e51a5dd2ff12829900b3775
parentFixed Pleroma polls. (diff)
downloadpenes-snac2-7ea57485c70e9a55045f14bd81d7aea73fff4fb1.tar.gz
penes-snac2-7ea57485c70e9a55045f14bd81d7aea73fff4fb1.tar.xz
penes-snac2-7ea57485c70e9a55045f14bd81d7aea73fff4fb1.zip
More Pleroma poll tweaks.
-rw-r--r--html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/html.c b/html.c
index fa8253f..45c665c 100644
--- a/html.c
+++ b/html.c
@@ -1665,7 +1665,7 @@ xs_html *html_entry(snac *user, xs_dict *msg, int read_only,
1665 else 1665 else
1666 if (user && was_question_voted(user, id)) 1666 if (user && was_question_voted(user, id))
1667 closed = 1; /* we already voted; closed for us */ 1667 closed = 1; /* we already voted; closed for us */
1668 else 1668
1669 if ((f_closed = xs_dict_get(msg, "closed")) != NULL) { 1669 if ((f_closed = xs_dict_get(msg, "closed")) != NULL) {
1670 /* it has a closed date... but is it in the past? */ 1670 /* it has a closed date... but is it in the past? */
1671 time_t t0 = time(NULL); 1671 time_t t0 = time(NULL);