From 5ef0483ab34892d7ea773a690a7c17e3d102cf46 Mon Sep 17 00:00:00 2001 From: grunfink Date: Thu, 8 Jan 2026 08:47:57 +0100 Subject: Don't show the EmojiReact dropdown if disabled. --- html.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html.c b/html.c index c41d7f4..f26ac4d 100644 --- a/html.c +++ b/html.c @@ -2103,7 +2103,7 @@ xs_html *html_entry_controls(snac *user, const char *actor, xs_html_tag("p", NULL)); } - { /** emoji react **/ + if (!xs_is_true(xs_dict_get(srv_config, "disable_emojireact"))) { /** emoji react **/ /* the post textarea */ xs *div_id = xs_fmt("%s_reply", md5); xs *form_id = xs_fmt("%s_reply_form", md5); -- cgit v1.2.3