commit c6642e9

grunfink  ·  2026-01-08 07:43:50 +0000 UTC
parent 6a2b4bb
Don't show any EmojiReactions if they are disabled.
1 files changed,  +1, -1
M html.c
M html.c
+1, -1
1@@ -2447,7 +2447,7 @@ xs_html *html_entry(snac *user, xs_dict *msg, int read_only,
2 
3     /* add all emoji reacts */
4     int is_emoji = 0;
5-    {
6+    if (!xs_is_true(xs_dict_get(srv_config, "disable_emojireact"))) {
7         int c = 0;
8         const xs_dict *k;
9         xs *ls = xs_list_new();