commit 27218d0
default
·
2023-05-30 04:35:29 +0000 UTC
parent 32f31e4
Moved "Closed" poll string to where it belongs.
1 files changed,
+6,
-0
M
html.c
M
html.c
+6,
-0
1@@ -939,6 +939,12 @@ xs_str *html_entry(snac *snac, xs_str *os, const xs_dict *msg, int local,
2 }
3
4 c = xs_str_cat(c, "</table>\n");
5+
6+ /* if it's *really* closed, say it */
7+ if (!xs_is_null(xs_dict_get(msg, "closed"))) {
8+ xs *s1 = xs_fmt("<p>%s</p>\n", L("Closed"));
9+ c = xs_str_cat(c, s1);
10+ }
11 }
12 else {
13 /* poll still active */