commit a8cbbee

grunfink  ·  2026-01-08 08:05:53 +0000 UTC
parent cef1d7a
Also disable EmojiReact notifications, if so configured.
1 files changed,  +3, -0
M html.c
M html.c
+3, -0
 1@@ -4030,6 +4030,9 @@ xs_str *html_notifications(snac *user, int skip, int show)
 2         if (xs_is_string(id2) && xs_set_add(&rep, id2) != 1)
 3             continue;
 4 
 5+        if (strcmp(type, "EmojiReact") == 0 && xs_is_true(xs_dict_get(srv_config, "disable_emojireact")))
 6+            continue;
 7+
 8         object_get(id, &obj);
 9 
10         const char *msg_id = NULL;