diff options
author | default <nobody@localhost> | 2022-12-04 11:50:20 +0100 |
---|---|---|
committer | default <nobody@localhost> | 2022-12-04 11:50:20 +0100 |
commit | 785c859ce3d0bb19264f3dbd075b6825932ab8d0 (patch) | |
tree | eee9c61acc6bfd0f525c6b37fa5fcb6b5975dfaf | |
parent | 1c8ff95670eaf1daab526addee22e0c957fd4c18 (diff) |
Match the CW checkbox status to what is currently configured.
-rw-r--r-- | html.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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, |