diff options
| author | 2026-01-08 09:05:53 +0100 | |
|---|---|---|
| committer | 2026-01-08 09:05:53 +0100 | |
| commit | a8cbbeeb3fdc8ec660270b9112b50d2dee71e55d (patch) | |
| tree | 8c9963d0ffb5e04e362e546049b011c11d851452 /html.c | |
| parent | Updated documentation. (diff) | |
| download | snac2-a8cbbeeb3fdc8ec660270b9112b50d2dee71e55d.tar.gz snac2-a8cbbeeb3fdc8ec660270b9112b50d2dee71e55d.tar.xz snac2-a8cbbeeb3fdc8ec660270b9112b50d2dee71e55d.zip | |
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) | |||
| 4030 | if (xs_is_string(id2) && xs_set_add(&rep, id2) != 1) | 4030 | if (xs_is_string(id2) && xs_set_add(&rep, id2) != 1) |
| 4031 | continue; | 4031 | continue; |
| 4032 | 4032 | ||
| 4033 | if (strcmp(type, "EmojiReact") == 0 && xs_is_true(xs_dict_get(srv_config, "disable_emojireact"))) | ||
| 4034 | continue; | ||
| 4035 | |||
| 4033 | object_get(id, &obj); | 4036 | object_get(id, &obj); |
| 4034 | 4037 | ||
| 4035 | const char *msg_id = NULL; | 4038 | const char *msg_id = NULL; |