aboutsummaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authorgrunfink <grunfink@comam.es>2026-01-08 08:47:57 +0100
committergrunfink <grunfink@comam.es>2026-01-08 08:47:57 +0100
commit5ef0483ab34892d7ea773a690a7c17e3d102cf46 (patch)
tree65e3d701fac0e300df389ff6d4a4020420f4f304 /html.c
parentc6642e958b628426f2c7b0d71b427a7960cf063c (diff)
Don't show the EmojiReact dropdown if disabled.
Diffstat (limited to 'html.c')
-rw-r--r--html.c2
1 files changed, 1 insertions, 1 deletions
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);