summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--html.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/html.c b/html.c
index aeecdf5..b482d10 100644
--- a/html.c
+++ b/html.c
@@ -3495,10 +3495,11 @@ xs_str *html_notifications(snac *user, int skip, int show)
3495 html_label); 3495 html_label);
3496 3496
3497 if (strcmp(type, "Follow") == 0 || strcmp(utype, "Follow") == 0 || strcmp(type, "Block") == 0) { 3497 if (strcmp(type, "Follow") == 0 || strcmp(utype, "Follow") == 0 || strcmp(type, "Block") == 0) {
3498 xs_html_add(entry, 3498 if (actor)
3499 xs_html_tag("div", 3499 xs_html_add(entry,
3500 xs_html_attr("class", "snac-post"), 3500 xs_html_tag("div",
3501 html_actor_icon(user, actor, NULL, NULL, NULL, 0, 0, proxy, NULL, NULL))); 3501 xs_html_attr("class", "snac-post"),
3502 html_actor_icon(user, actor, NULL, NULL, NULL, 0, 0, proxy, NULL, NULL)));
3502 } 3503 }
3503 else 3504 else
3504 if (strcmp(type, "Move") == 0) { 3505 if (strcmp(type, "Move") == 0) {