summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar default2022-12-04 11:50:20 +0100
committerGravatar default2022-12-04 11:50:20 +0100
commit785c859ce3d0bb19264f3dbd075b6825932ab8d0 (patch)
treeeee9c61acc6bfd0f525c6b37fa5fcb6b5975dfaf
parentMerge pull request 'Add an option to always show sensitive content' (#9) from... (diff)
downloadsnac2-785c859ce3d0bb19264f3dbd075b6825932ab8d0.tar.gz
snac2-785c859ce3d0bb19264f3dbd075b6825932ab8d0.tar.xz
snac2-785c859ce3d0bb19264f3dbd075b6825932ab8d0.zip
Match the CW checkbox status to what is currently configured.
-rw-r--r--html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/html.c b/html.c
index fbb313b..32ffa85 100644
--- a/html.c
+++ b/html.c
@@ -323,7 +323,7 @@ d_char *html_top_controls(snac *snac, d_char *s)
323 xs_dict_get(snac->config, "avatar"), 323 xs_dict_get(snac->config, "avatar"),
324 L("Bio"), 324 L("Bio"),
325 xs_dict_get(snac->config, "bio"), 325 xs_dict_get(snac->config, "bio"),
326 xs_dict_get(snac->config, "cw"), 326 strcmp(xs_dict_get(snac->config, "cw"), "open") == 0 ? "checked" : "",
327 L("Always show sensitive content"), 327 L("Always show sensitive content"),
328 L("Email address for notifications"), 328 L("Email address for notifications"),
329 email, 329 email,