diff options
| -rw-r--r-- | html.c | 8 |
1 files changed, 2 insertions, 6 deletions
| @@ -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) |