diff options
| author | 2026-01-08 08:47:57 +0100 | |
|---|---|---|
| committer | 2026-01-08 08:47:57 +0100 | |
| commit | 5ef0483ab34892d7ea773a690a7c17e3d102cf46 (patch) | |
| tree | 65e3d701fac0e300df389ff6d4a4020420f4f304 | |
| parent | Don't show any EmojiReactions if they are disabled. (diff) | |
| download | snac2-5ef0483ab34892d7ea773a690a7c17e3d102cf46.tar.gz snac2-5ef0483ab34892d7ea773a690a7c17e3d102cf46.tar.xz snac2-5ef0483ab34892d7ea773a690a7c17e3d102cf46.zip | |
Don't show the EmojiReact dropdown if disabled.
| -rw-r--r-- | html.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -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); |