commit a01e4b1

grunfink  ·  2026-01-06 17:53:38 +0000 UTC
parent c2b050c
Fixed crash.
1 files changed,  +1, -1
M html.c
M html.c
+1, -1
1@@ -2461,7 +2461,7 @@ xs_html *html_entry(snac *user, xs_dict *msg, int read_only,
2                 const char *actor = xs_dict_get(m, "actor");
3                 const xs_list *contentl = xs_dict_get(sfrl, content);
4 
5-                if (is_muted(user, actor) || is_instance_blocked(actor))
6+                if ((user && is_muted(user, actor)) || is_instance_blocked(actor))
7                     continue;
8 
9                 xs *actors = xs_list_new();