From c6642e958b628426f2c7b0d71b427a7960cf063c Mon Sep 17 00:00:00 2001 From: grunfink Date: Thu, 8 Jan 2026 08:43:50 +0100 Subject: Don't show any EmojiReactions if they are disabled. --- html.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'html.c') diff --git a/html.c b/html.c index 4299396..c41d7f4 100644 --- a/html.c +++ b/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(); -- cgit v1.2.3