aboutsummaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authorgrunfink <grunfink@comam.es>2026-02-10 05:44:59 +0100
committergrunfink <grunfink@comam.es>2026-02-10 05:44:59 +0100
commit6f8eb9ced3bd711a32bc36ad03d7892d647feeb1 (patch)
tree7ebf7b5d283f12950e6516b3b07e6ecb3b62bb85 /html.c
parent77478f9e60fd80d6a05d47f1ae55463f5e231b84 (diff)
In timelines, always create a 'people/' link, not only if follower or following.
Diffstat (limited to 'html.c')
-rw-r--r--html.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/html.c b/html.c
index 8efae90..3201904 100644
--- a/html.c
+++ b/html.c
@@ -282,12 +282,8 @@ xs_html *html_actor_icon(snac *user, xs_dict *actor, const char *date,
}
if (user && !in_people) {
- /* if this actor is a follower or being followed, create an
- anchored link to the people page instead of the actor url */
- if (fwer || fwing) {
- xs *md5 = xs_md5_hex(actor_id, strlen(actor_id));
- href = xs_fmt("%s/people/%s", user->actor, md5);
- }
+ xs *md5 = xs_md5_hex(actor_id, strlen(actor_id));
+ href = xs_fmt("%s/people/%s", user->actor, md5);
}
if (href == NULL)