Match the CW checkbox status to what is currently configured.

This commit is contained in:
default 2022-12-04 11:50:20 +01:00
parent 1c8ff95670
commit 785c859ce3

2
html.c
View File

@ -323,7 +323,7 @@ d_char *html_top_controls(snac *snac, d_char *s)
xs_dict_get(snac->config, "avatar"),
L("Bio"),
xs_dict_get(snac->config, "bio"),
xs_dict_get(snac->config, "cw"),
strcmp(xs_dict_get(snac->config, "cw"), "open") == 0 ? "checked" : "",
L("Always show sensitive content"),
L("Email address for notifications"),
email,