summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,
282 } 282 }
283 283
284 if (user && !in_people) { 284 if (user && !in_people) {
285 /* if this actor is a follower or being followed, create an 285 xs *md5 = xs_md5_hex(actor_id, strlen(actor_id));
286 anchored link to the people page instead of the actor url */ 286 href = xs_fmt("%s/people/%s", user->actor, md5);
287 if (fwer || fwing) {
288 xs *md5 = xs_md5_hex(actor_id, strlen(actor_id));
289 href = xs_fmt("%s/people/%s", user->actor, md5);
290 }
291 } 287 }
292 288
293 if (href == NULL) 289 if (href == NULL)