فهرست منبع

Don't show any EmojiReactions if they are disabled.

grunfink 6 ماه پیش
والد
کامیت
c6642e958b
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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 */
     int is_emoji = 0;
-    {
+    if (!xs_is_true(xs_dict_get(srv_config, "disable_emojireact"))) {
         int c = 0;
         const xs_dict *k;
         xs *ls = xs_list_new();