commit 6c87610
grunfink
·
2026-01-06 13:26:57 +0000 UTC
parent b84b92d
Hide EmojiReacts from muted actors and blocked instances.
1 files changed,
+4,
-0
M
html.c
M
html.c
+4,
-0
1@@ -2460,6 +2460,10 @@ xs_html *html_entry(snac *user, xs_dict *msg, int read_only,
2 const char *content = xs_dict_get(m, "content");
3 const char *actor = xs_dict_get(m, "actor");
4 const xs_list *contentl = xs_dict_get(sfrl, content);
5+
6+ if (is_muted(user, actor) || is_instance_blocked(actor))
7+ continue;
8+
9 xs *actors = xs_list_new();
10 actors = xs_list_append(actors, actor);
11 char me = actor && user && strcmp(actor, user->actor) == 0;