From 191c2e032b0d418c6f8beb6675a356e4b37644bb Mon Sep 17 00:00:00 2001 From: default Date: Fri, 30 Sep 2022 17:56:27 +0200 Subject: Also show Follow messages in the timeline. --- html.c | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) (limited to 'html.c') diff --git a/html.c b/html.c index fd6fbdf..31af896 100644 --- a/html.c +++ b/html.c @@ -484,8 +484,22 @@ d_char *html_entry(snac *snac, d_char *os, char *msg, xs_set *seen, int local, i if (xs_set_add(seen, id) == 0) return os; - if (strcmp(type, "Follow") == 0) - return os; + xs *s = xs_str_new(NULL); + + if (strcmp(type, "Follow") == 0) { + actor = xs_dict_get(msg, "actor"); + + s = xs_str_cat(s, "