瀏覽代碼

In timelines, always create a 'people/' link, not only if follower or following.

grunfink 7 月之前
父節點
當前提交
6f8eb9ced3
共有 1 個文件被更改,包括 2 次插入6 次删除
  1. 2 6
      html.c

+ 2 - 6
html.c

@@ -282,12 +282,8 @@ xs_html *html_actor_icon(snac *user, xs_dict *actor, const char *date,
     }
     }
 
 
     if (user && !in_people) {
     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)
     if (href == NULL)