commit 6f8eb9c

grunfink  ·  2026-02-10 04:44:59 +0000 UTC
parent 77478f9
In timelines, always create a 'people/' link, not only if follower or following.
1 files changed,  +2, -6
M html.c
M html.c
+2, -6
 1@@ -282,12 +282,8 @@ xs_html *html_actor_icon(snac *user, xs_dict *actor, const char *date,
 2     }
 3 
 4     if (user && !in_people) {
 5-        /* if this actor is a follower or being followed, create an
 6-           anchored link to the people page instead of the actor url */
 7-        if (fwer || fwing) {
 8-            xs *md5 = xs_md5_hex(actor_id, strlen(actor_id));
 9-            href = xs_fmt("%s/people/%s", user->actor, md5);
10-        }
11+        xs *md5 = xs_md5_hex(actor_id, strlen(actor_id));
12+        href = xs_fmt("%s/people/%s", user->actor, md5);
13     }
14 
15     if (href == NULL)