aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrunfink <grunfink@comam.es>2026-01-06 18:53:38 +0100
committergrunfink <grunfink@comam.es>2026-01-06 18:53:38 +0100
commita01e4b148fd32a015167478171443047507c168d (patch)
tree1ef25e43c724caa36fecf05a7a52e763f0297334
parentc2b050cf5389e25bb3d149452ee432116b9cc1cd (diff)
Fixed crash.
-rw-r--r--html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/html.c b/html.c
index d5a59d8..4299396 100644
--- a/html.c
+++ b/html.c
@@ -2461,7 +2461,7 @@ xs_html *html_entry(snac *user, xs_dict *msg, int read_only,
const char *actor = xs_dict_get(m, "actor");
const xs_list *contentl = xs_dict_get(sfrl, content);
- if (is_muted(user, actor) || is_instance_blocked(actor))
+ if ((user && is_muted(user, actor)) || is_instance_blocked(actor))
continue;
xs *actors = xs_list_new();