Also disable EmojiReact notifications, if so configured.

This commit is contained in:
grunfink
2026-01-08 09:05:53 +01:00
parent cef1d7a176
commit a8cbbeeb3f
+3
View File
@@ -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;