diff options
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 | } |