diff options
author | default <nobody@localhost> | 2024-05-05 01:21:07 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2024-05-05 01:21:07 +0200 |
commit | 7ea57485c70e9a55045f14bd81d7aea73fff4fb1 (patch) | |
tree | 6987857e34ec295a9e51a5dd2ff12829900b3775 | |
parent | 2f499e9421bd67299d4fc1981f350f80efc2772b (diff) |
More Pleroma poll tweaks.
-rw-r--r-- | html.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |