summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
Diffstat (limited to 'html.c')
-rw-r--r--html.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/html.c b/html.c
index 2f92a6c..f5f57ae 100644
--- a/html.c
+++ b/html.c
@@ -939,6 +939,12 @@ xs_str *html_entry(snac *snac, xs_str *os, const xs_dict *msg, int local,
}
c = xs_str_cat(c, "</table>\n");
+
+ /* if it's *really* closed, say it */
+ if (!xs_is_null(xs_dict_get(msg, "closed"))) {
+ xs *s1 = xs_fmt("<p>%s</p>\n", L("Closed"));
+ c = xs_str_cat(c, s1);
+ }
}
else {
/* poll still active */