diff options
| author | 2026-01-08 08:43:50 +0100 | |
|---|---|---|
| committer | 2026-01-08 08:43:50 +0100 | |
| commit | c6642e958b628426f2c7b0d71b427a7960cf063c (patch) | |
| tree | a3cf55f8edd5e9d54fadf89cb009f5d6851e2a10 /html.c | |
| parent | If disable_emojireact is set to true in server.json, EmojiReacts are dropped ... (diff) | |
| download | snac2-c6642e958b628426f2c7b0d71b427a7960cf063c.tar.gz snac2-c6642e958b628426f2c7b0d71b427a7960cf063c.tar.xz snac2-c6642e958b628426f2c7b0d71b427a7960cf063c.zip | |
Don't show any EmojiReactions if they are disabled.
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -2447,7 +2447,7 @@ xs_html *html_entry(snac *user, xs_dict *msg, int read_only, | |||
| 2447 | 2447 | ||
| 2448 | /* add all emoji reacts */ | 2448 | /* add all emoji reacts */ |
| 2449 | int is_emoji = 0; | 2449 | int is_emoji = 0; |
| 2450 | { | 2450 | if (!xs_is_true(xs_dict_get(srv_config, "disable_emojireact"))) { |
| 2451 | int c = 0; | 2451 | int c = 0; |
| 2452 | const xs_dict *k; | 2452 | const xs_dict *k; |
| 2453 | xs *ls = xs_list_new(); | 2453 | xs *ls = xs_list_new(); |