diff options
| author | grunfink <grunfink@comam.es> | 2026-01-08 09:05:53 +0100 |
|---|---|---|
| committer | grunfink <grunfink@comam.es> | 2026-01-08 09:05:53 +0100 |
| commit | a8cbbeeb3fdc8ec660270b9112b50d2dee71e55d (patch) | |
| tree | 8c9963d0ffb5e04e362e546049b011c11d851452 /html.c | |
| parent | cef1d7a176b7603491dfec3f394c1b34bf765f2c (diff) | |
Also disable EmojiReact notifications, if so configured.
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -4030,6 +4030,9 @@ xs_str *html_notifications(snac *user, int skip, int show) if (xs_is_string(id2) && xs_set_add(&rep, id2) != 1) continue; + if (strcmp(type, "EmojiReact") == 0 && xs_is_true(xs_dict_get(srv_config, "disable_emojireact"))) + continue; + object_get(id, &obj); const char *msg_id = NULL; |