mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-15 01:55:03 +00:00
Set the "Only for mentioned people" checkbox properly.
This commit is contained in:
parent
46708ef309
commit
352108e61f
1 changed files with 2 additions and 2 deletions
4
html.c
4
html.c
|
@ -1411,7 +1411,7 @@ xs_html *html_entry_controls(snac *snac, const char *actor,
|
||||||
"", prev_src,
|
"", prev_src,
|
||||||
id, NULL,
|
id, NULL,
|
||||||
xs_dict_get(msg, "sensitive"), xs_dict_get(msg, "summary"),
|
xs_dict_get(msg, "sensitive"), xs_dict_get(msg, "summary"),
|
||||||
xs_stock(XSTYPE_FALSE), redir,
|
xs_stock(is_msg_public(msg) ? XSTYPE_FALSE : XSTYPE_TRUE), redir,
|
||||||
NULL, 0, att_file, att_alt_text)),
|
NULL, 0, att_file, att_alt_text)),
|
||||||
xs_html_tag("p", NULL));
|
xs_html_tag("p", NULL));
|
||||||
}
|
}
|
||||||
|
@ -1430,7 +1430,7 @@ xs_html *html_entry_controls(snac *snac, const char *actor,
|
||||||
"", ct,
|
"", ct,
|
||||||
NULL, NULL,
|
NULL, NULL,
|
||||||
xs_dict_get(msg, "sensitive"), xs_dict_get(msg, "summary"),
|
xs_dict_get(msg, "sensitive"), xs_dict_get(msg, "summary"),
|
||||||
xs_stock(XSTYPE_FALSE), redir,
|
xs_stock(is_msg_public(msg) ? XSTYPE_FALSE : XSTYPE_TRUE), redir,
|
||||||
id, 0, "", "")),
|
id, 0, "", "")),
|
||||||
xs_html_tag("p", NULL));
|
xs_html_tag("p", NULL));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue