From 7ea57485c70e9a55045f14bd81d7aea73fff4fb1 Mon Sep 17 00:00:00 2001 From: default Date: Sun, 5 May 2024 01:21:07 +0200 Subject: [PATCH] More Pleroma poll tweaks. --- html.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, 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);