commit 5ef0483
grunfink
·
2026-01-08 07:47:57 +0000 UTC
parent c6642e9
Don't show the EmojiReact dropdown if disabled.
1 files changed,
+1,
-1
M
html.c
M
html.c
+1,
-1
1@@ -2103,7 +2103,7 @@ xs_html *html_entry_controls(snac *user, const char *actor,
2 xs_html_tag("p", NULL));
3 }
4
5- { /** emoji react **/
6+ if (!xs_is_true(xs_dict_get(srv_config, "disable_emojireact"))) { /** emoji react **/
7 /* the post textarea */
8 xs *div_id = xs_fmt("%s_reply", md5);
9 xs *form_id = xs_fmt("%s_reply_form", md5);