Browse Source

Don't show any EmojiReactions if they are disabled.

grunfink 7 months ago
parent
commit
c6642e958b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      html.c

+ 1 - 1
html.c

@@ -2447,7 +2447,7 @@ xs_html *html_entry(snac *user, xs_dict *msg, int read_only,
 
 
     /* add all emoji reacts */
     /* add all emoji reacts */
     int is_emoji = 0;
     int is_emoji = 0;
-    {
+    if (!xs_is_true(xs_dict_get(srv_config, "disable_emojireact"))) {
         int c = 0;
         int c = 0;
         const xs_dict *k;
         const xs_dict *k;
         xs *ls = xs_list_new();
         xs *ls = xs_list_new();