aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrunfink <grunfink@comam.es>2026-01-08 08:43:50 +0100
committergrunfink <grunfink@comam.es>2026-01-08 08:43:50 +0100
commitc6642e958b628426f2c7b0d71b427a7960cf063c (patch)
treea3cf55f8edd5e9d54fadf89cb009f5d6851e2a10
parent6a2b4bbcecaadab41fd89d5219f328f3e5916ceb (diff)
Don't show any EmojiReactions if they are disabled.
-rw-r--r--html.c2
1 files changed, 1 insertions, 1 deletions
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();