summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar grunfink2026-01-08 08:47:57 +0100
committerGravatar grunfink2026-01-08 08:47:57 +0100
commit5ef0483ab34892d7ea773a690a7c17e3d102cf46 (patch)
tree65e3d701fac0e300df389ff6d4a4020420f4f304
parentDon't show any EmojiReactions if they are disabled. (diff)
downloadsnac2-5ef0483ab34892d7ea773a690a7c17e3d102cf46.tar.gz
snac2-5ef0483ab34892d7ea773a690a7c17e3d102cf46.tar.xz
snac2-5ef0483ab34892d7ea773a690a7c17e3d102cf46.zip
Don't show the EmojiReact dropdown if disabled.
-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,
2103 xs_html_tag("p", NULL)); 2103 xs_html_tag("p", NULL));
2104 } 2104 }
2105 2105
2106 { /** emoji react **/ 2106 if (!xs_is_true(xs_dict_get(srv_config, "disable_emojireact"))) { /** emoji react **/
2107 /* the post textarea */ 2107 /* the post textarea */
2108 xs *div_id = xs_fmt("%s_reply", md5); 2108 xs *div_id = xs_fmt("%s_reply", md5);
2109 xs *form_id = xs_fmt("%s_reply_form", md5); 2109 xs *form_id = xs_fmt("%s_reply_form", md5);