summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar default2024-09-14 15:23:07 +0200
committerGravatar default2024-09-14 15:23:07 +0200
commit352108e61f7411a9481dfb43198f6950ba5574a3 (patch)
treee1325bfd81469eeb3c518f5c1e088c8a98a74c5d
parentUpdated RELEASE_NOTES. (diff)
downloadsnac2-352108e61f7411a9481dfb43198f6950ba5574a3.tar.gz
snac2-352108e61f7411a9481dfb43198f6950ba5574a3.tar.xz
snac2-352108e61f7411a9481dfb43198f6950ba5574a3.zip
Set the "Only for mentioned people" checkbox properly.
-rw-r--r--html.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/html.c b/html.c
index 47ab9b8..272a26e 100644
--- a/html.c
+++ b/html.c
@@ -1411,7 +1411,7 @@ xs_html *html_entry_controls(snac *snac, const char *actor,
1411 "", prev_src, 1411 "", prev_src,
1412 id, NULL, 1412 id, NULL,
1413 xs_dict_get(msg, "sensitive"), xs_dict_get(msg, "summary"), 1413 xs_dict_get(msg, "sensitive"), xs_dict_get(msg, "summary"),
1414 xs_stock(XSTYPE_FALSE), redir, 1414 xs_stock(is_msg_public(msg) ? XSTYPE_FALSE : XSTYPE_TRUE), redir,
1415 NULL, 0, att_file, att_alt_text)), 1415 NULL, 0, att_file, att_alt_text)),
1416 xs_html_tag("p", NULL)); 1416 xs_html_tag("p", NULL));
1417 } 1417 }
@@ -1430,7 +1430,7 @@ xs_html *html_entry_controls(snac *snac, const char *actor,
1430 "", ct, 1430 "", ct,
1431 NULL, NULL, 1431 NULL, NULL,
1432 xs_dict_get(msg, "sensitive"), xs_dict_get(msg, "summary"), 1432 xs_dict_get(msg, "sensitive"), xs_dict_get(msg, "summary"),
1433 xs_stock(XSTYPE_FALSE), redir, 1433 xs_stock(is_msg_public(msg) ? XSTYPE_FALSE : XSTYPE_TRUE), redir,
1434 id, 0, "", "")), 1434 id, 0, "", "")),
1435 xs_html_tag("p", NULL)); 1435 xs_html_tag("p", NULL));
1436 } 1436 }