diff options
| author | 2024-09-14 15:23:07 +0200 | |
|---|---|---|
| committer | 2024-09-14 15:23:07 +0200 | |
| commit | 352108e61f7411a9481dfb43198f6950ba5574a3 (patch) | |
| tree | e1325bfd81469eeb3c518f5c1e088c8a98a74c5d /html.c | |
| parent | Updated RELEASE_NOTES. (diff) | |
| download | penes-snac2-352108e61f7411a9481dfb43198f6950ba5574a3.tar.gz penes-snac2-352108e61f7411a9481dfb43198f6950ba5574a3.tar.xz penes-snac2-352108e61f7411a9481dfb43198f6950ba5574a3.zip | |
Set the "Only for mentioned people" checkbox properly.
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -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 | } |