snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit 785c859ce3d0bb19264f3dbd075b6825932ab8d0
parent 1c8ff95670eaf1daab526addee22e0c957fd4c18
Author: default <nobody@localhost>
Date:   Sun,  4 Dec 2022 11:50:20 +0100

Match the CW checkbox status to what is currently configured.

Diffstat:
Mhtml.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/html.c b/html.c @@ -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,